:root {
  --navy: #0A1123;
  --navy-deep: #070C1A;
  --navy-card: #141C33;
  --navy-card-hover: #1A2340;
  --border: #1E2742;
  --border-light: #2A3452;
  --teal: #00E6B0;
  --teal-light: #5CF2CF;
  --indigo: #5C5EFE;
  --blue: #0E8CFF;
  --text-muted: #A3AAC2;
  --text-muted-2: #7A8199;
  --light-bg: #F4F5FA;
  --light-panel: #E7E9F2;
  --light-panel-2: #EDEFF5;
  --text-dark: #0A1123;
  --text-dark-muted: #4B5268;
  --text-dark-muted-2: #6B7289;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--navy);
  color: #ffffff;
  width: 100%;
  overflow-x: hidden;
}

a { color: var(--teal); }
a:hover { color: var(--teal-light); }

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Shared shapes */
.tri {
  display: inline-block;
  width: 11px;
  height: 9px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  flex-shrink: 0;
}
.tri-teal { background: var(--teal); }
.tri-green { background: #00C497; margin-top: 7px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow-indigo { color: var(--indigo); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0;
}
.section-title-dark { color: var(--text-dark); }

/* Buttons */
.btn-primary {
  background: var(--teal);
  color: var(--navy);
  padding: 17px 40px 17px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-display);
  display: inline-block;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background 0.15s ease;
}
.btn-primary:hover { background: var(--teal-light); color: var(--navy); }

.btn-cta-nav {
  padding: 11px 28px 11px 22px;
  font-size: 14px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 16px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-display);
  display: inline-block;
  transition: border-color 0.15s ease;
}
.btn-outline:hover { border-color: var(--indigo); color: #ffffff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 17, 35, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: block; text-decoration: none; }
.brand-logo { height: 34px; width: auto; display: block; }

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

.nav-link {
  color: #C9CEDD;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-link:hover { color: #ffffff; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 88px;
}

.hero-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 16px;
  background: var(--indigo);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

.hero-copy { animation: fadeInUp 0.8s ease-out both; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin: 0 0 26px;
}

.hero-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 40px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-symbol {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}

/* Ticker */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #0D1529;
}

.ticker-inner {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted-2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticker-arrow { color: var(--teal); }

/* Serviços */
.servicos { padding: 104px 24px; }

.servicos-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.servicos-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--navy-card);
  padding: 28px 24px 32px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: background 0.15s ease;
}
.service-card:hover { background: var(--navy-card-hover); }

.service-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--indigo);
  margin-bottom: 40px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Como funciona (funil) */
.funil {
  background: var(--navy-card);
  padding: 96px 24px;
}

.funil .section-title { margin-bottom: 56px; }

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

.funil-step-1 { padding-right: 32px; }
.funil-step-2 { padding: 0 32px; }
.funil-step-3 { padding-left: 32px; }

.funil-bar {
  height: 6px;
  margin-bottom: 28px;
}
.funil-bar-1 { background: var(--indigo); }
.funil-bar-2 { background: var(--blue); margin: 0 12% 28px; }
.funil-bar-wrap {
  height: 6px;
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.funil-bar-3 { width: 16%; background: var(--teal); height: 6px; margin: 0; }

.funil-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 10px;
}

.funil-step-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Sobre */
.sobre {
  background: var(--light-bg);
  color: var(--text-dark);
  padding: 104px 24px;
}

.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.sobre-photo {
  aspect-ratio: 4 / 5;
  background: var(--light-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.photo-placeholder {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dark-muted-2);
}

.sobre .section-title { margin-bottom: 24px; }

.sobre-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark-muted);
  margin: 0 0 40px;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.pillar-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dark-muted);
}

/* Cases */
.cases {
  background: #ffffff;
  color: var(--text-dark);
  padding: 104px 24px;
}

.cases-head { margin-bottom: 48px; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.case-card {
  display: flex;
  flex-direction: column;
}

.case-thumb {
  aspect-ratio: 16 / 10;
  background: var(--light-panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.case-body { padding-top: 18px; }

.case-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 8px;
}

.case-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 6px;
}

.case-result {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark-muted);
}

/* Contato */
.contato {
  padding: 104px 24px;
  position: relative;
  overflow: hidden;
}

.contato-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36%;
  height: 16px;
  background: var(--indigo);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 0 100%);
}

.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
}

.contato .section-title { margin-bottom: 22px; }

.contato-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 36px;
  max-width: 460px;
}

.contato-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
}

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

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

.wa-link {
  color: #ffffff;
  text-decoration: none;
}
.wa-link:hover { color: var(--teal); }

.contato-panel {
  background: var(--navy-card);
  padding: 40px;
}

.form-success { text-align: center; padding: 48px 0; }
.form-success-mark { width: 56px; height: auto; display: block; margin: 0 auto 20px; }
.form-success-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 8px;
}
.form-success-desc { font-size: 15px; color: var(--text-muted); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-form[hidden] { display: none; }

.field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-light);
  padding: 12px 2px;
  font-size: 16px;
  font-family: inherit;
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease;
}
.field:focus { border-bottom-color: var(--indigo); }

textarea.field { resize: vertical; }

.submit-btn {
  background: var(--teal);
  color: var(--navy);
  border: none;
  padding: 17px;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-display);
  cursor: pointer;
  margin-top: 8px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background 0.15s ease;
}
.submit-btn:hover { background: var(--teal-light); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  padding: 56px 24px 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-logo { height: 38px; width: auto; display: block; }

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-link {
  color: #C9CEDD;
  text-decoration: none;
  font-size: 14px;
}
.footer-link:hover { color: #ffffff; }

.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-muted-2);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .sobre-grid, .contato-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .hero-symbol { max-width: 220px; }
  .servicos-head { grid-template-columns: 1fr; }
  .funil-grid { grid-template-columns: 1fr; gap: 40px; }
  .funil-step-1, .funil-step-2, .funil-step-3 { padding: 0; }
  .funil-bar-2 { margin: 0 0 28px; }
  .funil-bar-wrap { justify-content: flex-start; }
}

@media (max-width: 780px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .btn-cta-nav { margin-top: 16px; text-align: center; }
}

@media (max-width: 520px) {
  .contato-panel { padding: 28px 20px; }
}
