@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07111b;
  --bg-soft: #0d1a27;
  --bg-panel: rgba(14, 24, 38, 0.82);
  --bg-panel-strong: #112134;
  --text: #f5f7fb;
  --muted: #9ab0c4;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #67e8f9;
  --accent-2: #f59e0b;
  --accent-3: #38bdf8;
  --success: #4ade80;
  --danger: #f97316;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
  --section-space: 116px;
  --font-sans: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.12), transparent 26%),
    radial-gradient(circle at right 20%, rgba(245, 158, 11, 0.1), transparent 22%),
    linear-gradient(180deg, #050b12 0%, #0a1520 100%);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

textarea {
  resize: vertical;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

.ambient-a {
  background: #0ea5e9;
  top: -10rem;
  left: -12rem;
}

.ambient-b {
  background: #f59e0b;
  top: 22rem;
  right: -14rem;
}

.submit-toast {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translate(-50%, -12px);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(74, 222, 128, 0.24);
  background: rgba(9, 20, 32, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 80;
}

.submit-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.glass-card {
  background: var(--bg-panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), #c4f1ff 44%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(5, 11, 18, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.14), rgba(245, 158, 11, 0.18));
  border: 1px solid var(--line-strong);
}

.logo-mark svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.mobile-menu-btn {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  color: var(--text);
}

.mobile-menu-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 0 20px;
  min-height: 48px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.94rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0 22px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  border: 0;
  color: #041017;
  background: linear-gradient(135deg, var(--accent), #b6f4ff 56%, var(--accent-2));
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.about-drawer-section {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-14px);
  transition: max-height 320ms ease, opacity 260ms ease, transform 260ms ease, padding 260ms ease;
}

.about-drawer-section.is-open {
  max-height: 900px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 18px;
}

.about-drawer {
  position: relative;
  padding: 30px 30px 26px;
}

.about-drawer-title {
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.about-drawer-copy {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.about-drawer-copy p {
  color: var(--muted);
  text-align: justify;
}

.about-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  cursor: pointer;
}

.about-drawer-close svg {
  width: 1rem;
  height: 1rem;
}

.about-drawer-section > .container > .testimonial-carousel-shell {
  display: none;
}

.hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
  grid-template-columns: 1.12fr 0.88fr;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}

.hero-title {
  margin-top: 18px;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-chip {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.metric-chip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.metric-chip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.console-card {
  position: relative;
  padding: 0;
  overflow: visible;
  padding-bottom: 56px;
}

.console-header {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.window-dots span:nth-child(1) { background: #f87171; }
.window-dots span:nth-child(2) { background: #facc15; }
.window-dots span:nth-child(3) { background: #4ade80; }

.window-title {
  margin-left: 14px;
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.76rem;
}

.console-body {
  padding: 26px;
  overflow-x: auto;
}

.console-body pre {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.8;
  white-space: pre-wrap;
}

.token-keyword { color: #7dd3fc; }
.token-func { color: #fcd34d; }
.token-comment { color: #94a3b8; font-style: italic; }
.token-string { color: #86efac; }

.floating-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(5, 11, 18, 0.8);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.floating-card svg {
  width: 18px;
  height: 18px;
}

.floating-a {
  top: 58px;
  right: 20px;
  color: var(--success);
}

.floating-b {
  bottom: -22px;
  left: 18px;
  color: var(--accent-2);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

#depoimentos {
  padding-top: 44px;
  padding-bottom: 72px;
}

#beneficios {
  padding-bottom: 28px;
}

#depoimentos .container {
  display: grid;
  gap: 12px;
}

#depoimentos .section-heading {
  margin-bottom: 6px;
}

.section-title {
  margin-top: 10px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin-top: 16px;
  color: var(--muted);
  max-width: 64ch;
}

.service-grid,
.testimonial-grid,
.benefit-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.testimonial-card {
  padding: 28px;
}

.service-icon,
.impact-icon,
.benefit-card > svg {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.15);
  color: var(--accent);
  margin-bottom: 20px;
}

.service-icon svg,
.impact-icon svg,
.benefit-card > svg {
  width: 24px;
  height: 24px;
}

.service-card h3,
.impact-card h3,
.benefit-card h3,
.testimonial-card strong,
.timeline-item h3,
.contact-copy h2 {
  font-size: 1.25rem;
}

.service-card p,
.impact-card p,
.benefit-card p,
.testimonial-card p,
.timeline-item p,
.contact-copy p,
.footer p {
  color: var(--muted);
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex: 0 0 auto;
}

.split-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: start;
}

.method-panel,
.scoreboard,
.contact-shell {
  padding: 30px;
}

.timeline {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.timeline-item span {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.18), rgba(245, 158, 11, 0.2));
  color: var(--text);
  font-weight: 700;
}

.impact-stack {
  display: grid;
  gap: 18px;
}

.impact-card,
.benefit-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.scoreboard {
  margin-bottom: 24px;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: center;
}

.score-row + .score-row {
  margin-top: 16px;
}

.score-row p {
  color: var(--muted);
}

.bar-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.bar {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.bar.before {
  background: linear-gradient(90deg, rgba(249,115,22,0.8), rgba(245,158,11,0.9));
}

.bar.after {
  background: linear-gradient(90deg, rgba(74,222,128,0.9), rgba(103,232,249,0.95));
}

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

.benefit-card {
  display: grid;
  gap: 14px;
}

.testimonial-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.testimonial-head svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

.testimonial-carousel-shell {
  margin-top: 0;
  padding: 18px 28px 28px;
  overflow: hidden;
}

.testimonial-carousel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.carousel-title {
  margin-top: 10px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.04;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-arrow {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.carousel-arrow svg {
  width: 1rem;
  height: 1rem;
}

.testimonial-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, calc((100% - 44px) / 3));
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  min-height: 280px;
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(103, 232, 249, 0.12);
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(19, 34, 52, 0.96), rgba(12, 24, 38, 0.94));
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.carousel-card p {
  color: var(--text);
  font-size: 1rem;
}

.carousel-stars {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 1.15rem;
}

.testimonial-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-shell {
  display: grid;
  gap: 26px;
  grid-template-columns: 0.95fr 1.05fr;
  scroll-margin-top: 128px;
}

.contact-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.map-panel {
  margin-top: 22px;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.12), transparent 32%),
    radial-gradient(circle at 84% 24%, rgba(245, 184, 78, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.map-stage {
  position: relative;
  width: 100%;
  height: 320px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.map-stage::before {
  content: "";
  position: absolute;
  inset: 14% 18% 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.18), transparent 58%);
  filter: blur(28px);
  z-index: 0;
}

.map-stage::after {
  content: "";
  position: absolute;
  inset: auto 10% 8%;
  height: 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(6, 12, 18, 0.72), rgba(6, 12, 18, 0));
  filter: blur(14px);
  z-index: 0;
}

.map-card-canvas {
  width: 100%;
  height: 320px;
  display: block;
  position: relative;
  z-index: 1;
}

.map-source-image {
  display: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-link {
  text-decoration: none;
  width: fit-content;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-group {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 15px 16px;
}

input::placeholder,
textarea::placeholder {
  color: #7f95aa;
}

input:focus,
textarea:focus {
  outline: 1px solid rgba(103, 232, 249, 0.36);
  border-color: rgba(103, 232, 249, 0.28);
}

.hp-field {
  display: none;
}

.submit-frame {
  display: none;
}

.footer {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: start;
  padding-bottom: 22px;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-links,
.footer-social {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-social a {
  text-decoration: none;
  color: var(--muted);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  padding: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.reveal,
.fade-in-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up {
  animation: heroFade 0.7s ease forwards;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .contact-shell,
  .footer-grid,
  .service-grid,
  .testimonial-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: 14ch;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 1rem;
  }

  .nav {
    gap: 16px;
  }
}

@media (max-width: 820px) {
  :root {
    --section-space: 92px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(5, 11, 18, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.7rem, 11vw, 4.4rem);
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .score-row {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel-header {
    align-items: start;
    flex-direction: column;
  }

  .testimonial-carousel {
    grid-auto-columns: minmax(260px, 82%);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .about-drawer {
    padding: 22px 22px 20px;
  }

  .testimonial-carousel-shell {
    padding: 22px;
  }

  .about-drawer-close {
    top: 14px;
    right: 14px;
  }

  .service-card,
  .testimonial-card,
  .method-panel,
  .scoreboard,
  .contact-shell,
  .impact-card,
  .benefit-card {
    padding: 22px;
  }

  .map-panel,
  .map-stage,
  .map-card-canvas {
    min-height: 260px;
    height: 260px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .btn-lg,
  .btn-sm {
    width: 100%;
  }
}
