/* ==========================================================================
   Ubivis / UBI Genius — landing page styles
   ========================================================================== */

/* ----- Fonts (self-hosted, replaces Google Fonts CDN) ----- */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
}

/* ----- Base / reset ----- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: oklch(0.15 0.01 250);
  font-family: 'IBM Plex Sans', sans-serif;
}

a { color: oklch(0.75 0.16 190); text-decoration: none; }
a:hover { color: oklch(0.82 0.16 190); }

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; }
p { margin: 0; }

input, select { font-family: 'IBM Plex Sans', sans-serif; }

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ----- Page wrapper ----- */
.page {
  background: oklch(0.15 0.01 250);
  color: oklch(0.94 0.01 250);
  min-height: 100vh;
}

/* ----- Header ----- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo--sm { font-size: 18px; }
.logo-dot { color: oklch(0.75 0.16 190); }

.nav { display: flex; gap: 28px; align-items: center; }
.nav-phone { color: oklch(0.85 0.02 250); font-size: 14.5px; font-weight: 600; }

.btn-nav {
  background: oklch(0.75 0.16 190);
  color: oklch(0.15 0.02 190);
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

/* ----- Hero / diagnostico ----- */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 64px 90px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: oklch(0.22 0.03 190);
  color: oklch(0.78 0.14 190);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.75 0.16 190);
  animation: pulseDot 2s infinite;
}

.hero-title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: oklch(0.97 0.01 250);
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: oklch(0.72 0.02 250);
  margin-top: 22px;
  max-width: 520px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: oklch(0.8 0.02 250);
  margin-top: 14px;
  max-width: 520px;
}

.hero-cta-group { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.btn-primary-hero {
  background: oklch(0.75 0.16 190);
  color: oklch(0.15 0.02 190);
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
}
.btn-whatsapp-hero {
  display: flex;
  align-items: center;
  gap: 9px;
  background: oklch(0.6 0.16 148);
  color: oklch(0.98 0.01 148);
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
}

/* ----- Lead capture card / form ----- */
.result-card {
  background: oklch(0.17 0.012 250);
  border: 1px solid oklch(0.27 0.02 250);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.result-card h3 { font-size: 20px; color: oklch(0.97 0.01 250); margin-bottom: 10px; }
.result-card p { font-size: 14.5px; color: oklch(0.72 0.02 250); line-height: 1.6; }

.lead-form {
  background: oklch(0.17 0.012 250);
  border: 1px solid oklch(0.27 0.02 250);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lead-form-header { grid-column: span 2; }
.lead-form-header h3 { font-size: 18px; color: oklch(0.97 0.01 250); margin-bottom: 4px; }
.lead-form-header p { font-size: 13px; color: oklch(0.65 0.02 250); }

.field {
  background: oklch(0.14 0.01 250);
  border: 1px solid oklch(0.3 0.02 250);
  border-radius: 8px;
  padding: 12px 14px;
  color: oklch(0.94 0.01 250);
  font-size: 14px;
}
.field--full { grid-column: span 2; }

.btn-submit {
  grid-column: span 2;
  background: oklch(0.75 0.16 190);
  color: oklch(0.15 0.02 190);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  margin-top: 4px;
}

.is-hidden { display: none !important; }

/* ----- Logos strip ----- */
.section-logos { max-width: 1400px; margin: 0 auto; padding: 0 64px 90px; }
.section-eyebrow-center {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.55 0.02 250);
  margin-bottom: 28px;
}
.logos-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 56px;
  animation: logosScroll 40s linear infinite;
}
.logos-carousel:hover .logos-track { animation-play-state: paused; }
.logo-item {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
}

/* ----- Generic section layouts ----- */
.section-split {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.section-narrow-center { max-width: 900px; margin: 0 auto; padding: 0 64px 100px; text-align: center; }
.section-medium { max-width: 1000px; margin: 0 auto; padding: 0 64px 100px; }
.section-wide { max-width: 1400px; margin: 0 auto; padding: 0 64px 100px; }
.section-faq { max-width: 900px; margin: 0 auto; padding: 100px 64px; }
.section-final { max-width: 1000px; margin: 0 auto; padding: 0 64px 110px; text-align: center; }

.eyebrow { color: oklch(0.6 0.14 190); font-weight: 600; font-size: 14px; margin-bottom: 14px; }

.section-title { font-size: 34px; color: oklch(0.97 0.01 250); line-height: 1.2; margin-bottom: 18px; }
.section-title--mb20 { font-size: 34px; color: oklch(0.97 0.01 250); line-height: 1.2; margin-bottom: 20px; }
.section-title--plain { font-size: 34px; color: oklch(0.97 0.01 250); line-height: 1.2; }
.section-title--sm { font-size: 32px; color: oklch(0.97 0.01 250); line-height: 1.25; margin-bottom: 20px; }

.section-text { font-size: 16px; line-height: 1.65; color: oklch(0.72 0.02 250); margin-bottom: 22px; }
.section-text-mt { font-size: 16px; line-height: 1.65; color: oklch(0.72 0.02 250); margin-top: 16px; }
.section-text-center { font-size: 16.5px; line-height: 1.7; color: oklch(0.72 0.02 250); }

.section-header-center { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-header-center--mb56 { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header-center--mb48 { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header-plain--mb44 { text-align: center; margin-bottom: 44px; }

/* ----- Bulleted lists (challenges / fitFor) ----- */
.bullet-list { }
.bullet-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.bullet-dot-teal { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.75 0.16 190); margin-top: 8px; flex-shrink: 0; }
.bullet-text { font-size: 15.5px; color: oklch(0.85 0.01 250); line-height: 1.5; }

.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-mark { color: oklch(0.7 0.15 150); font-size: 15px; flex-shrink: 0; }
.check-text--lg { font-size: 15.5px; color: oklch(0.85 0.01 250); line-height: 1.5; }

/* ----- Media card (opportunity photo) ----- */
.media-card {
  background: oklch(0.19 0.015 250);
  border: 1px solid oklch(0.28 0.02 250);
  border-radius: 16px;
  padding: 8px;
}
.media-img { width: 100%; height: 400px; display: block; object-fit: contain; border-radius: 12px; }

/* ----- Data results checklist ----- */
.check-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.check-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: oklch(0.17 0.012 250);
  border: 1px solid oklch(0.27 0.02 250);
  border-radius: 10px;
  padding: 16px 18px;
}
.check-text { font-size: 15px; color: oklch(0.88 0.01 250); line-height: 1.4; }

/* ----- Como funciona / steps ----- */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: start; }
.step-item { display: flex; align-items: center; }
.step-card {
  background: oklch(0.17 0.012 250);
  border: 1px solid oklch(0.27 0.02 250);
  border-radius: 14px;
  padding: 24px 18px;
  flex: 1;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: oklch(0.22 0.03 190);
  color: oklch(0.78 0.14 190);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.step-title { font-size: 16px; color: oklch(0.95 0.01 250); margin-bottom: 8px; }
.step-desc { font-size: 13.5px; line-height: 1.5; color: oklch(0.68 0.02 250); }
.step-arrow { color: oklch(0.4 0.02 250); font-size: 20px; padding: 0 6px; flex-shrink: 0; }

/* ----- Fit-for checklist ----- */
.check-grid-2--tight { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* ----- Benefícios ----- */
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.benefit-card {
  background: oklch(0.17 0.012 250);
  border: 1px solid oklch(0.27 0.02 250);
  border-radius: 14px;
  padding: 24px 20px;
}
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: oklch(0.22 0.03 190);
  color: oklch(0.78 0.14 190);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}
.benefit-title { font-size: 16px; color: oklch(0.95 0.01 250); margin-bottom: 10px; line-height: 1.3; }
.benefit-desc { font-size: 14px; line-height: 1.5; color: oklch(0.68 0.02 250); }

/* ----- Outcomes (accent section) ----- */
.section-accent { background: oklch(0.19 0.02 190); padding: 80px 64px; }
.section-accent-inner { max-width: 900px; margin: 0 auto; }
.eyebrow-center { text-align: center; color: oklch(0.72 0.13 190); font-weight: 600; font-size: 14px; margin-bottom: 32px; }
.section-title-center { text-align: center; font-size: 30px; color: oklch(0.97 0.01 250); line-height: 1.25; margin-bottom: 36px; }
.outcomes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.outcome-item { display: flex; gap: 12px; align-items: flex-start; }
.bullet-dot-light { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.97 0.01 250); margin-top: 8px; flex-shrink: 0; }
.outcome-text { font-size: 15.5px; color: oklch(0.94 0.01 250); line-height: 1.5; }

/* ----- FAQ ----- */
.faq-item { border-bottom: 1px solid oklch(0.28 0.02 250); padding: 22px 0; cursor: pointer; }
.faq-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-question { font-size: 17px; color: oklch(0.93 0.01 250); font-weight: 600; }
.faq-symbol { color: oklch(0.6 0.02 250); font-size: 22px; flex-shrink: 0; }
.faq-answer { font-size: 15.5px; line-height: 1.65; color: oklch(0.68 0.02 250); margin-top: 14px; max-width: 760px; }

/* ----- Final CTA ----- */
.final-title { font-size: 36px; color: oklch(0.97 0.01 250); line-height: 1.2; margin-bottom: 20px; }
.final-text { font-size: 17px; color: oklch(0.72 0.02 250); margin-bottom: 36px; }
.final-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary-final {
  display: inline-block;
  background: oklch(0.75 0.16 190);
  color: oklch(0.15 0.02 190);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
}
.btn-whatsapp-final {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: oklch(0.6 0.16 148);
  color: oklch(0.98 0.01 148);
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
}

/* ----- Sticky bottom bar ----- */
.sticky-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: oklch(0.12 0.01 250);
  border-top: 1px solid oklch(0.28 0.02 250);
  padding: 14px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  flex-wrap: wrap;
}
.sticky-text { font-size: 14.5px; color: oklch(0.85 0.01 250); }
.btn-primary-sticky {
  background: oklch(0.75 0.16 190);
  color: oklch(0.15 0.02 190);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.btn-whatsapp-sticky {
  display: flex;
  align-items: center;
  gap: 7px;
  background: oklch(0.6 0.16 148);
  color: oklch(0.98 0.01 148);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid oklch(0.25 0.02 250);
  padding: 48px 64px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.copyright { font-size: 13.5px; color: oklch(0.55 0.02 250); }
