:root {
  --black: #040608;
  --night: #0b1118;
  --panel: #101821;
  --panel-2: #151f2a;
  --white: #f8fbff;
  --muted: #a9b5c2;
  --soft: #e8eef6;
  --blue: #2e7dff;
  --cyan: #6ee7ff;
  --lime: #9be58c;
  --line: rgba(255, 255, 255, 0.12);
  --dark-line: rgba(14, 24, 34, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(var(--max), calc(100% - 36px));
  min-height: 78px;
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  background: rgba(4, 6, 8, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, background 220ms ease, min-height 220ms ease;
}

.site-header.is-compact {
  min-height: 66px;
  background: rgba(4, 6, 8, 0.92);
  transform: translateY(-6px);
}

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

.brand img {
  width: 140px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: rgba(248, 251, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-action,
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #1657d8);
  box-shadow: 0 16px 42px rgba(46, 125, 255, 0.28);
}

.btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: white;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 150px 20px 70px;
}

.hero-video,
.hero-layer,
.hero-orbit {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.08) brightness(0.72);
}

.hero-layer {
  background:
    linear-gradient(90deg, rgba(4, 6, 8, 0.96) 0%, rgba(4, 6, 8, 0.72) 47%, rgba(4, 6, 8, 0.22) 100%),
    linear-gradient(0deg, rgba(4, 6, 8, 0.95) 0%, rgba(4, 6, 8, 0.1) 52%, rgba(4, 6, 8, 0.76) 100%);
}

.hero-orbit {
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at 72% 28%, rgba(46, 125, 255, 0.36), transparent 28%),
    linear-gradient(120deg, transparent 0%, rgba(110, 231, 255, 0.16) 50%, transparent 66%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 42px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.8rem, 6.8vw, 7rem);
  line-height: 0.91;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(248, 251, 255, 0.76);
  font-size: clamp(1.04rem, 1.7vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 20, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 172px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 42px;
}

.hero-card span,
.hero-card strong {
  display: block;
}

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

.hero-card strong {
  margin-top: 7px;
  font-size: 1.42rem;
}

.hero-card p {
  margin: 12px 0 0;
  color: rgba(248, 251, 255, 0.68);
}

.metrics {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 40px));
  margin: -38px auto 0;
  border: 1px solid var(--line);
  background: rgba(16, 24, 33, 0.94);
  box-shadow: var(--shadow);
}

.metrics div {
  min-height: 130px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 1.08rem;
}

.metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-copy {
  max-width: 740px;
}

.section-copy h2,
.leader-copy h2,
.final-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.leader-copy p,
.final-inner p {
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  min-height: 156px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(21, 31, 42, 0.94), rgba(9, 14, 20, 0.94));
}

.service-item span {
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 950;
}

.service-item h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.service-item p {
  margin: 0;
  color: var(--muted);
}

.leadership {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
  width: 100%;
  padding: 112px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
  color: var(--night);
}

.leader-photo {
  position: relative;
  border: 1px solid var(--dark-line);
  background: white;
  box-shadow: 0 30px 90px rgba(7, 13, 20, 0.18);
}

.leader-photo::after {
  position: absolute;
  content: "";
  inset: 18px -18px -18px 18px;
  z-index: -1;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.leader-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.leader-copy .eyebrow {
  color: var(--blue);
}

.leader-copy p {
  color: #4d5d69;
}

.leader-copy blockquote {
  margin: 32px 0 16px;
  padding-left: 22px;
  border-left: 4px solid var(--blue);
  color: var(--night);
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.25;
  font-weight: 850;
}

.leader-copy span {
  color: #667786;
  font-weight: 800;
}

.plans {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  background: #070a0f;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(16, 24, 33, 0.9);
}

.plan-card.featured {
  background: linear-gradient(160deg, rgba(46, 125, 255, 0.98), rgba(8, 25, 54, 0.98));
  box-shadow: 0 28px 70px rgba(46, 125, 255, 0.28);
}

.plan-card span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-card.featured span {
  color: white;
}

.plan-card h3 {
  margin: 16px 0 10px;
  font-size: 1.72rem;
}

.plan-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.plan-card.featured p,
.plan-card.featured li {
  color: rgba(255, 255, 255, 0.84);
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plan-card li {
  position: relative;
  padding-left: 20px;
}

.plan-card li::before {
  position: absolute;
  content: "";
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--cyan);
}

.plan-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 900;
}

.plan-card.featured a {
  color: var(--night);
  background: white;
}

.dark-panel {
  padding-top: 96px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.advantage {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(21, 31, 42, 0.94), rgba(9, 14, 20, 0.94));
}

.advantage strong {
  display: block;
  font-size: 1.25rem;
}

.advantage p {
  margin: 14px 0 0;
  color: var(--muted);
}

.faq {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(16, 24, 33, 0.9);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-item span {
  font-weight: 900;
}

.faq-item em {
  color: var(--cyan);
  font-style: normal;
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item p {
  grid-column: 1 / -1;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 180ms ease, margin 180ms ease;
}

.faq-item.is-open p {
  max-height: 190px;
  margin-top: 8px;
}

.final-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 90px;
  padding: 68px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(46, 125, 255, 0.22), rgba(110, 231, 255, 0.08)),
    rgba(16, 24, 33, 0.92);
  box-shadow: var(--shadow);
}

.final-inner {
  display: grid;
  justify-items: start;
  max-width: 760px;
}

.final-inner img {
  width: 188px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 34px;
}

.final-inner .btn {
  margin-top: 20px;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-lines span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: rgba(248, 251, 255, 0.76);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 132px;
  height: 58px;
  object-fit: contain;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 540ms ease, transform 540ms ease;
}

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

@media (max-width: 1080px) {
  .hero-inner,
  .intro-split,
  .leadership,
  .faq {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 430px;
  }

  .metrics,
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    width: calc(100% - 24px);
    margin-top: 10px;
  }

  .brand img {
    width: 122px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 86px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(4, 6, 8, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }

  .header-action {
    display: none;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: 94svh;
    padding-top: 130px;
  }

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

  .metrics div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .leadership {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .final-cta {
    padding: 38px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section,
  .metrics,
  .final-cta,
  .site-footer {
    width: calc(100% - 28px);
  }

  .section {
    padding: 78px 0;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

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

  .plan-card,
  .service-item,
  .advantage,
  .faq-item {
    padding: 22px;
  }

  .final-cta {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    display: none;
  }
}

/* Home com vídeo — integrada ao conteúdo original a partir dos diferenciais. */
.floating-menu {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 34px));
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 9px 12px 9px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(7, 12, 18, 0.78);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: top 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.floating-menu.is-compact {
  top: 10px;
  background: rgba(6, 10, 15, 0.94);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
}

.menu-links {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.menu-links a {
  position: relative;
  padding: 10px 0;
  color: rgba(238, 245, 248, 0.74);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-links a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.menu-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: #21a9d2;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.menu-links a:hover::after {
  width: 18px;
}

.whatsapp-btn {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 50px;
  padding: 0 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0876ef, #175dcc);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(8, 118, 239, 0.17);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(8, 118, 239, 0.24);
}

.mobile-toggle {
  display: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  display: block;
  overflow: hidden;
  padding: 0;
  background: #000;
}

.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  background: #000;
}

.scroll-down {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 9, 13, 0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.scroll-down:hover {
  background: rgba(5, 9, 13, 0.62);
  border-color: rgba(33, 169, 210, 0.4);
  transform: translateX(-50%) translateY(-2px);
}

.scroll-down svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  animation: arrowMove 1.45s ease-in-out infinite;
}

@keyframes arrowMove {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

@media (max-width: 920px) {
  .floating-menu {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 8px 12px 8px 18px;
    border-radius: 22px;
  }

  .whatsapp-btn {
    display: none;
  }

  .mobile-toggle {
    grid-column: 2;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
  }

  .mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: #fff;
    transition: transform 0.2s ease;
  }

  .mobile-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .mobile-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .menu-links {
    position: fixed;
    top: 92px;
    left: 17px;
    right: 17px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(7, 12, 18, 0.96);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .menu-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-links a {
    padding: 13px 14px;
    border-radius: 14px;
    color: #c9d4dc;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .scroll-down {
    width: 44px;
    height: 44px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-video {
    display: block;
  }
}
