* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #050505;
  --dark: #0a0a0f;
  --panel: #121218;
  --panel-2: #171720;
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --line: rgba(255,255,255,.12);
  --purple: #a855f7;
  --purple-2: #7c3aed;
  --blue: #38bdf8;
  --green: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: white;
  color: black;
  padding: 10px 14px;
  border-radius: 10px;
  transition: top .2s;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,5,5,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
}

.brand span {
  display: grid;
  line-height: 1;
}

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

.brand small {
  color: var(--purple);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d4d4d8;
  font-weight: 800;
  font-size: .92rem;
}

.main-nav a,
.main-nav button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav button:hover {
  color: #fff;
}

.nav-cta {
  background: var(--purple) !important;
  color: white !important;
  padding: 12px 18px;
  border-radius: 0;
}

.has-panel {
  position: relative;
}

.mega-panel {
  display: none;
  position: absolute;
  top: 38px;
  left: -36px;
  width: 620px;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  background: #111;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 35px 90px rgba(0,0,0,.55);
}

.has-panel:hover .mega-panel,
.has-panel:focus-within .mega-panel {
  display: grid;
}

.mega-panel h3 {
  margin-bottom: 16px;
  color: #fff;
}

.mega-panel a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: end;
  padding: 90px 6% 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5,5,5,.93) 42%, rgba(5,5,5,.52) 100%),
    radial-gradient(circle at 70% 20%, rgba(168,85,247,.28), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px;
  z-index: -2;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .72;
}

.orb {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(70px);
}

.orb-one {
  right: 6%;
  top: 18%;
  background: rgba(168,85,247,.38);
}

.orb-two {
  right: 24%;
  bottom: 2%;
  background: rgba(56,189,248,.18);
}

.code-wall {
  position: absolute;
  right: 4%;
  top: 22%;
  display: grid;
  gap: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255,255,255,.13);
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 3.4rem);
  transform: rotate(-6deg);
}

.hero-inner {
  max-width: 980px;
}

.kicker {
  color: var(--purple);
  font-size: .8rem;
  letter-spacing: .22em;
  font-weight: 950;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 1050px;
  font-size: clamp(3.2rem, 8vw, 8.8rem);
  line-height: .86;
  letter-spacing: -.085em;
  font-weight: 950;
}

.hero-text {
  max-width: 720px;
  color: #d4d4d8;
  font-size: 1.25rem;
  line-height: 1.7;
  margin-top: 30px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font-weight: 950;
  border-radius: 0;
  transition: transform .2s, background .2s, border-color .2s;
}

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

.btn-primary {
  background: var(--purple);
  color: #fff;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.hero-card {
  align-self: center;
  background: rgba(18,18,24,.86);
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 340px;
  box-shadow: 0 34px 90px rgba(0,0,0,.45);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 60px;
  height: 6px;
  background: var(--purple);
}

.card-label {
  display: block;
  color: var(--muted);
  margin-top: 28px;
  margin-bottom: 18px;
  font-weight: 900;
}

.hero-card h2 {
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: 16px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.7;
}

.mini-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 28px;
}

.mini-dashboard div {
  background: #0b0b10;
  border: 1px solid var(--line);
  padding: 16px;
}

.mini-dashboard strong,
.mini-dashboard small {
  display: block;
}

.mini-dashboard strong {
  font-size: 1.25rem;
}

.mini-dashboard small {
  color: var(--muted);
  margin-top: 4px;
}

.section {
  padding: 96px 6%;
}

.intro {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  align-items: start;
}

.section-title {
  max-width: 880px;
}

.section-title h2,
.feature-copy h2,
.value-copy h2,
.plans-copy h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 5vw, 5.3rem);
  line-height: .92;
  letter-spacing: -.075em;
  font-weight: 950;
}

.intro-text p,
.feature-copy p,
.value-copy p,
.plans-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.8;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cap-card {
  min-height: 360px;
  padding: 28px;
  background: var(--black);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .2s, transform .2s;
}

.cap-card:hover {
  background: #111118;
  transform: translateY(-4px);
}

.cap-card span {
  color: var(--purple);
  font-weight: 950;
}

.cap-card h3 {
  font-size: 1.55rem;
  line-height: 1;
  margin: auto 0 16px;
  letter-spacing: -.04em;
}

.cap-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.cap-card a {
  font-weight: 950;
  color: #fff;
}

.cap-card a::after {
  content: " →";
  color: var(--purple);
}

.dark-feature {
  margin: 0 6%;
  padding: 70px;
  background:
    linear-gradient(135deg, rgba(168,85,247,.18), transparent 38%),
    #121218;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 56px;
  border: 1px solid var(--line);
}

.industry-list {
  display: grid;
}

.industry-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 950;
}

.industry-list span {
  color: var(--purple);
}

.insight-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.insight-card {
  min-height: 280px;
  background: #15151d;
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
}

.insight-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 54px;
  height: 6px;
  background: var(--purple);
}

.insight-card.large {
  grid-row: span 2;
  min-height: 578px;
  background:
    radial-gradient(circle at 80% 20%, rgba(168,85,247,.3), transparent 38%),
    #15151d;
}

.insight-card p {
  color: var(--purple);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .18em;
  margin-bottom: 16px;
}

.insight-card h3 {
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  line-height: .95;
  letter-spacing: -.06em;
  margin-bottom: 14px;
}

.insight-card span {
  color: var(--muted);
  line-height: 1.65;
}

.value-section {
  margin: 0 6%;
  min-height: 430px;
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-number {
  font-size: clamp(6rem, 16vw, 16rem);
  font-weight: 950;
  letter-spacing: -.12em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(168,85,247,.75);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.case {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0b10;
}

.case span {
  color: var(--purple);
  font-weight: 950;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.case h3 {
  margin: 100px 0 12px;
  font-size: 1.55rem;
  line-height: 1;
}

.case p {
  color: var(--muted);
  line-height: 1.65;
}

.plans {
  padding: 96px 6%;
  background: #101016;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 48px;
}

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

.plan {
  background: #050505;
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: rgba(168,85,247,.65);
  box-shadow: 0 0 0 1px rgba(168,85,247,.4);
}

.plan h3 {
  font-size: 1.45rem;
  letter-spacing: -.04em;
  margin-bottom: 28px;
}

.plan strong {
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 16px;
}

.plan p {
  color: var(--muted);
  line-height: 1.65;
}

.plan a {
  margin-top: auto;
  background: var(--purple);
  color: white;
  padding: 15px 18px;
  text-align: center;
  font-weight: 950;
}

.contact-section {
  padding: 96px 6%;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 54px;
  align-items: start;
}

.contact-info {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-info strong {
  color: #fff;
}

.contact-form {
  background: #111118;
  border: 1px solid var(--line);
  padding: 30px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #050505;
  border: 1px solid var(--line);
  color: #fff;
  padding: 15px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
}

.footer {
  padding: 36px 6%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
}

.footer img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

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

.footer a:hover {
  color: #fff;
}

.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  background: var(--green);
  color: #052e16;
  padding: 15px 19px;
  font-weight: 950;
  box-shadow: 0 20px 50px rgba(34,197,94,.26);
}

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

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

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

  .insight-grid,
  .plans,
  .contact-section,
  .intro,
  .dark-feature,
  .value-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #050505;
    border-bottom: 1px solid var(--line);
    padding: 18px 6%;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a,
  .main-nav button {
    width: 100%;
    padding: 15px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .mega-panel {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 18px 0;
    border: 0;
    background: transparent;
  }

  .has-panel.open .mega-panel {
    display: grid;
  }

  .has-panel:hover .mega-panel {
    display: none;
  }

  .has-panel.open:hover .mega-panel {
    display: grid;
  }

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

@media (max-width: 680px) {
  .topbar {
    padding: 0 5%;
  }

  .brand span {
    display: none;
  }

  .hero,
  .section,
  .plans,
  .contact-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-card,
  .contact-form {
    padding: 22px;
  }

  .capability-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .dark-feature,
  .value-section {
    margin-left: 5%;
    margin-right: 5%;
    padding: 28px;
  }

  .mini-dashboard {
    grid-template-columns: 1fr;
  }

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

  .insight-card.large {
    min-height: 360px;
  }

  .footer {
    flex-direction: column;
  }
}


/* Cases com imagens reais dos projetos */
.case-grid-images {
  gap: 22px;
  border: 0;
}

.case-with-image {
  padding: 0;
  overflow: hidden;
  background: #0b0b10;
  border: 1px solid var(--line);
  min-height: auto;
  display: flex;
  flex-direction: column;
}

.case-with-image figure {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111118;
  border-bottom: 1px solid var(--line);
}

.case-with-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.05);
  transition: transform .45s ease, filter .45s ease;
}

.case-with-image:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.08);
}

.case-with-image div {
  padding: 24px;
}

.case-with-image h3 {
  margin: 18px 0 12px;
}

@media (max-width: 1180px) {
  .case-grid-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .case-grid-images {
    grid-template-columns: 1fr;
  }
}


/* Seção institucional com foto da equipe */
.team-section {
  margin: 0 6% 34px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: center;
  padding: 56px;
  background:
    linear-gradient(135deg, rgba(168,85,247,.16), transparent 38%),
    linear-gradient(180deg, rgba(18,18,24,.96), rgba(10,10,15,.96));
  border: 1px solid var(--line);
}

.team-copy h2 {
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: .92;
  letter-spacing: -.075em;
  font-weight: 950;
  margin-bottom: 22px;
}

.team-copy p {
  color: var(--muted);
  font-size: 1.09rem;
  line-height: 1.8;
  margin-top: 14px;
}

.team-image {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  background: #0b0b10;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.team-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.10), rgba(5,5,5,0)),
    radial-gradient(circle at 28% 30%, rgba(168,85,247,.18), transparent 34%);
  z-index: 1;
  pointer-events: none;
}

.team-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1180px) {
  .team-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .team-section {
    margin-left: 5%;
    margin-right: 5%;
    padding: 24px;
  }

  .team-image,
  .team-image img {
    min-height: 260px;
  }
}
