/* ===== VARIABLES ===== */
:root {
  /* Paleta Grahma Tech: #076DF2 · #0B64D9 · #085CA6 · #053959 · #031926 */
  --bg: #031926;
  --bg-alt: #041e2c;
  --surface: #052d42;
  --surface-2: #053959;
  --border: rgba(7, 109, 242, 0.1);
  --border-hover: rgba(7, 109, 242, 0.24);
  --text: #eef4ff;
  --muted: #6da0c5;
  --muted-2: #4a789a;
  --primary: #076DF2;
  --primary-hover: #0B64D9;
  --primary-light: #5aabf5;
  --primary-glow: rgba(7, 109, 242, 0.22);
  --blue: #085CA6;
  --blue-light: #7bbcf7;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

/* ===== UTILITIES ===== */
.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(130deg, #7bbcf7 0%, #eef4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.925rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }

.btn--sm { height: 36px; padding: 0 14px; font-size: 0.85rem; }
.btn--lg { height: 52px; padding: 0 28px; }

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset;
}
.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 8px 28px var(--primary-glow), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.btn--outline {
  border-color: rgba(7, 109, 242, 0.3);
  background: rgba(7, 109, 242, 0.04);
  color: var(--primary-light);
}
.btn--outline:hover {
  border-color: rgba(7, 109, 242, 0.55);
  background: rgba(7, 109, 242, 0.1);
  color: #7bbcf7;
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--muted);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  color: var(--text);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(3, 25, 38, 0.88);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__icon-img { height: 34px; width: auto; }
.logo__name-img {
  height: 19px; width: auto;
  filter: brightness(0) invert(1);
}
.footer .logo__name-img {
  filter: brightness(0) invert(0.65);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(7, 109, 242, 0.05);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 68px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 700px;
  background: radial-gradient(ellipse at 50% 30%, rgba(7,109,242,0.18) 0%, rgba(8,92,166,0.06) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7,109,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,109,242,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 0%, black 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 0%, black 0%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 40px;
}

.hero__inner { max-width: 780px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  background: rgba(7, 109, 242, 0.1);
  border: 1px solid rgba(7, 109, 242, 0.25);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: dot-pulse 2.5s ease-in-out infinite;
}

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

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Hero visual image */
.hero__visual {
  position: relative;
  z-index: 1;
  padding: 40px 0 0;
}

.hero__visual-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(7, 109, 242, 0.18);
  box-shadow: 0 0 0 1px rgba(7,109,242,0.06), 0 32px 80px rgba(3,25,38,0.7);
  position: relative;
}

.hero__visual-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
  pointer-events: none;
}

/* Stats bar */
.hero__stats-wrap {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(3, 25, 38, 0.7);
  backdrop-filter: blur(8px);
}

.hero__stats {
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 0 28px;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}
.hero__stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(7, 109, 242, 0.1);
  border: 1px solid rgba(7, 109, 242, 0.18);
  color: var(--primary-light);
  flex-shrink: 0;
}
.hero__stat strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.hero__stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ===== MARQUEE ===== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  background: var(--bg-alt);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee__track span {
  font-size: 0.82rem;
  color: var(--muted-2);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.marquee__sep { color: var(--primary-light) !important; }
.marquee:hover .marquee__track { animation-play-state: paused; }

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

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header { max-width: 620px; margin-bottom: 56px; }
.section__header--center {
  max-width: 580px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(7, 109, 242, 0.08);
  border: 1px solid rgba(7, 109, 242, 0.2);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.72;
}

/* ===== BENTO GRID ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bento__card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.bento__card:hover {
  border-color: rgba(7, 109, 242, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(3,25,38,0.5);
}

.bento__card--featured {
  grid-column: span 2;
  background: linear-gradient(150deg, rgba(7,109,242,0.1) 0%, var(--surface) 55%);
  border-color: rgba(7, 109, 242, 0.2);
}
.bento__card--featured:hover { border-color: rgba(7, 109, 242, 0.42); }

.bento__card--blue {
  background: linear-gradient(150deg, rgba(8,92,166,0.18) 0%, var(--surface) 55%);
  border-color: rgba(8, 92, 166, 0.28);
}
.bento__card--blue:hover { border-color: rgba(11, 100, 217, 0.45); }

.bento__card--full {
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
}

.bento__full-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bento__full-left .bento__icon { margin-bottom: 0; }
.bento__full-left h3 { margin-bottom: 6px; }

/* Card with background image */
.bento__card--has-bg { position: relative; }

.bento__card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
}
.bento__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.bento__card--has-bg > *:not(.bento__card-bg) {
  position: relative;
  z-index: 1;
}

.bento__card-glow {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7,109,242,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.bento__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(7, 109, 242, 0.1);
  border: 1px solid rgba(7, 109, 242, 0.2);
  color: var(--primary-light);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.bento__icon--blue {
  background: rgba(8, 92, 166, 0.15);
  border-color: rgba(8, 92, 166, 0.28);
  color: var(--blue-light);
}

.bento__card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.bento__card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.62;
}

.bento__label {
  display: inline-block;
  margin-top: 20px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(7, 109, 242, 0.1);
  border: 1px solid rgba(7, 109, 242, 0.22);
  color: var(--primary-light);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bento__label--blue {
  background: rgba(8, 92, 166, 0.14);
  border-color: rgba(8, 92, 166, 0.26);
  color: var(--blue-light);
}

/* ===== ABOUT ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image figure {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(3,25,38,0.6);
}

.about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about__content .section__title { margin-bottom: 20px; }
.about__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 32px;
}

.differentials {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.differential {
  display: flex;
  gap: 18px;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
}
.differential:hover {
  background: var(--surface);
  border-color: var(--border);
}

.differential__num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.04em;
  padding-top: 4px;
  flex-shrink: 0;
  width: 22px;
}

.differential h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: -0.02em;
}
.differential p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== BENEFITS ===== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.benefit {
  padding: 40px 28px;
  background: var(--bg);
  transition: background var(--transition);
}
.benefit:hover { background: var(--surface); }

.benefit__value {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary-light);
  margin-bottom: 14px;
}
.benefit p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== TIMELINE / PROCESSO ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.timeline__track {
  position: absolute;
  top: 27px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--blue-light) 100%);
  z-index: 0;
  opacity: 0.45;
}

.timeline__step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.timeline__dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid rgba(7, 109, 242, 0.4);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.02em;
  margin: 0 auto 24px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.timeline__step:hover .timeline__dot {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 5px rgba(7, 109, 242, 0.1);
}

.timeline__content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.timeline__content p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.62;
}

/* ===== CTA ===== */
.section--cta {
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(7,109,242,0.13) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid rgba(7, 109, 242, 0.1);
}

.cta {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta .section__tag { margin-bottom: 24px; }

.cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.cta__desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.72;
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.cta__note {
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand .logo { margin-bottom: 16px; }
.footer__brand p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 340px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.footer__links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--text); }

.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--featured { grid-column: span 2; }
  .bento__card--full { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .bento__full-left { flex-direction: column; align-items: flex-start; }
  .bento__full-left .bento__icon { margin-bottom: 16px; }

  .about { gap: 48px; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }

  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .timeline__track { display: none; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-radius: var(--radius-xl);
    background: rgba(3, 25, 38, 0.98);
    border: 1px solid var(--border);
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 10px 4px; font-size: 0.95rem; }
  .nav .btn { width: 100%; margin-top: 4px; }

  .section { padding: 72px 0; }

  .hero .container { padding-top: 48px; }

  .hero__visual-frame img { height: 240px; }

  .hero__stats { flex-direction: column; padding: 0; }
  .hero__stat {
    width: 100%;
    border-top: 1px solid var(--border);
    padding: 16px 20px;
  }
  .hero__stat:first-child { border-top: none; }
  .hero__stat-divider { display: none; }

  .bento { grid-template-columns: 1fr; gap: 8px; }
  .bento__card--featured,
  .bento__card--full { grid-column: span 1; }
  .bento__card--full { flex-direction: column; align-items: flex-start; }
  .bento__full-left { flex-direction: column; }
  .bento__full-left .bento__icon { margin-bottom: 16px; }

  .about { grid-template-columns: 1fr; gap: 40px; }

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

  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline__step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }
  .timeline__step:last-child { border-bottom: none; }
  .timeline__dot { margin: 0; flex-shrink: 0; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}

@media (max-width: 480px) {
  .hero__title { letter-spacing: -0.035em; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }
  .container { width: min(100% - 32px, var(--container)); }
}
