:root {
  --bg: #f4f5f9;
  --surface: #ffffff;
  --surface-soft: #f0f2fb;
  --surface-cta: #e9edf8;
  --text: #1d2238;
  --muted: #70778f;
  --line: #dfe3ef;
  --primary: #4c58d4;
  --primary-dark: #3d47b8;
  --shadow: 0 18px 40px rgba(49, 63, 147, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 227, 239, 0.8);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-copy span {
  font-size: 0.86rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}

.nav a:not(.btn) {
  color: #414a63;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.97rem;
  transition: 0.22s ease;
}

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

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(180deg, #5d69ef 0%, #4651c7 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(76, 88, 212, 0.26);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #6874f6 0%, #414bc0 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.65);
  color: var(--primary);
  border-color: rgba(76, 88, 212, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 22px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.35) 28%, transparent 48%),
    radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(180deg, #edf1fb 0%, #eef2f9 52%, #f5f6fa 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -80px -10%;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(214, 220, 242, 0.7), transparent 62%);
}

.hero-grid,
.intro-grid,
.solution-grid,
.footer-grid,
.catalog-grid,
.cards-3,
.testimonial-grid,
.steps-grid {
  display: grid;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(124, 138, 255, 0.13);
  color: #5d69ef;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1,
.cta h2 {
  margin: 18px 0 18px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.2rem, 6.1vw, 5.7rem);
}

.hero h1 span,
.intro h2 span {
  color: var(--primary);
}

.hero p,
.section-heading p,
.intro-copy p,
.feature p,
.testimonial-card p,
.cta p,
.footer-brand p,
.footer-social p,
.catalog-meta,
.step-item p,
.info-card p {
  color: var(--muted);
}

.hero p {
  max-width: 540px;
  font-size: 1.08rem;
  line-height: 1.72;
  margin-bottom: 30px;
}

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

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

.hero-visual img {
  width: min(100%, 430px);
  filter: drop-shadow(0 24px 42px rgba(43, 53, 120, 0.12));
}

.section-white,
.section-muted,
.cta {
  padding: 86px 0;
}

.section-white {
  background: var(--surface);
}

.section-muted {
  background: var(--bg);
}

.intro-grid {
  grid-template-columns: 1.3fr 1fr;
  gap: 54px;
  align-items: center;
}

.feature-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card {
  width: 100%;
  max-width: 650px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-thumb {
  min-height: 360px;
  background:
    linear-gradient(rgba(35, 35, 53, 0.25), rgba(35, 35, 53, 0.3)),
    radial-gradient(circle at 30% 40%, rgba(244, 183, 94, 0.25), transparent 30%),
    linear-gradient(135deg, #4f485e, #23283e 50%, #998875 100%);
  position: relative;
}

.video-thumb::before,
.feature-large::before,
.catalog-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 56px);
  opacity: 0.25;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(17, 21, 35, 0.5));
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 12px 34px rgba(29, 34, 56, 0.24);
  font-size: 1.3rem;
  z-index: 1;
}

.intro-copy h2,
.section-heading h2,
.cta h2 {
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.intro-copy h2 {
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 1.05;
}

.intro-copy p {
  line-height: 1.72;
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #4b5268;
  font-weight: 600;
}

.check-list li::before {
  content: '◉';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.06;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card,
.feature,
.catalog-card,
.testimonial-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(28, 36, 85, 0.04);
}

.info-card {
  padding: 26px;
}

.info-card .icon,
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #8f4b46;
  background: rgba(234, 160, 147, 0.12);
}

.info-card h3,
.feature h3,
.catalog-card h3,
.step-item h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
}

.info-card p,
.feature p,
.step-item p,
.catalog-card h3,
.catalog-meta,
.testimonial-card p {
  line-height: 1.65;
}

/* ===== SOLUTION GRID ===== */
.solution-grid {
  grid-template-columns: 2.2fr 1fr;
  gap: 20px;
  grid-template-areas:
    'large small1'
    'large small2'
    'wide wide';
}

/* ===== CARDS BASE ===== */
.feature {
  padding: 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(28, 36, 85, 0.04);
}

/* ===== CARD GRANDE COM VÍDEO ===== */
.feature.feature-large {
  grid-area: large;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  display: block;
}

/* remove overlay antigo */
.feature-large::before {
  display: none;
}

/* container do vídeo */
.feature-large-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* iframe ocupa tudo */
.feature-large-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* TEXTO ABAIXO DO VÍDEO */
.feature-large-text {
  padding: 20px 22px 24px;
}

/* título */
.feature-large-text h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: var(--text);
}

/* descrição */
.feature-large-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== OUTROS CARDS ===== */
.feature-small:nth-of-type(2) {
  grid-area: small1;
}

.feature-small:nth-of-type(3) {
  grid-area: small2;
}

.feature-wide {
  grid-area: wide;
  background: #f4f3e9;
}

.feature-highlight {
  background: linear-gradient(180deg, #5660d6 0%, #4451c7 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(76, 88, 212, 0.2);
}

.feature-highlight p,
.feature-highlight h3,
.feature-highlight .feature-icon {
  color: #fff;
}

.feature-highlight .feature-icon {
  background: rgba(255, 255, 255, 0.14);
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-item {
  text-align: center;
  padding: 22px 16px;
}

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 900;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.catalog-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

.catalog-head a {
  font-weight: 800;
  color: var(--primary);
}

.catalog-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.catalog-card {
  padding: 14px;
}

.catalog-image {
  position: relative;
  height: 188px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 14px;
}

.catalog-image-1 {
  background:
    radial-gradient(circle at 35% 28%, rgba(80, 218, 255, 0.75), transparent 12%),
    radial-gradient(circle at 55% 50%, rgba(242, 207, 110, 0.65), transparent 20%),
    linear-gradient(135deg, #132038 0%, #184f3e 48%, #27331f 100%);
}

.catalog-image-2 {
  background:
    radial-gradient(circle at 52% 50%, rgba(253, 212, 97, 0.82), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.1)),
    linear-gradient(135deg, #091423 0%, #1a2433 45%, #725a34 100%);
}

.catalog-image-3 {
  background:
    radial-gradient(circle at 70% 28%, rgba(246, 202, 149, 0.85), transparent 12%),
    linear-gradient(135deg, #0f1724 0%, #1d2a3b 44%, #121926 100%);
}

.catalog-meta {
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
}

.testimonial-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.testimonial-card {
  padding: 26px;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.person span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ead9bd, #8b705f 55%, #2f2a2c);
}

.avatar-2 {
  background: linear-gradient(135deg, #d7c3a2, #3b2d28 60%, #121011);
}

.stars {
  color: #f0b722;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.cta {
  background: linear-gradient(180deg, #e8edf9 0%, #e3e8f6 100%);
}

.cta-box {
  text-align: center;
}

.cta h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.cta p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.site-footer {
  padding: 36px 0 24px;
  background: #0d1233;
  color: #fff;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.footer-brand img {
  width: 72px;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-brand small,
.footer-social p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-social {
  text-align: right;
}

.social-icons {
  display: flex;
  justify-content: end;
  gap: 14px;
  font-size: 1.4rem;
}

.social-icons a:first-child {
  color: #ff4f8b;
}

.social-icons a:last-child {
  color: #58a7ff;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: end;
  gap: 24px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 99px;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.delay-1 {
  transition-delay: 0.12s;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {

  .hero-grid,
  .intro-grid,
  .solution-grid,
  .cards-3,
  .catalog-grid,
  .testimonial-grid,
  .footer-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-areas:
      'large'
      'small1'
      'small2'
      'wide';
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .footer-social {
    text-align: left;
  }

  .social-icons {
    justify-content: start;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav .btn {
    width: 100%;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy span {
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero,
  .section-white,
  .section-muted,
  .cta {
    padding: 62px 0;
  }

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

  .btn,
  .btn-small {
    width: 100%;
  }

  .video-thumb {
    min-height: 280px;
  }

  .catalog-image {
    height: 172px;
  }

  .footer-bottom {
    justify-content: start;
    gap: 14px 22px;
  }

  .cta h2,
  .hero h1 {
    line-height: 1;
  }

}