:root {
  --black: #08090b;
  --graphite: #0f1115;
  --panel: #171a21;
  --panel-2: #20242d;
  --gray: #8d96a5;
  --light: #f5f7fa;
  --line: rgba(255, 255, 255, .11);
  --orange: #f26a21;
  --orange-2: #ff8a3d;
  --steel: #b8c0cc;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--light);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.hero {
  min-height: 100vh;
  padding: 28px 7%;
  background:
    radial-gradient(circle at 72% 28%, rgba(242, 106, 33, .22), transparent 32%),
    linear-gradient(135deg, #11141a 0%, #08090b 58%, #14161c 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand img {
  width: 230px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--steel);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.nav-links a:hover {
  color: var(--orange);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--light);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 22px;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: .95;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.4px;
  margin-bottom: 22px;
}

h3 {
  line-height: 1.15;
}

.hero-text p,
.intro p,
.dark-split p,
.materials p,
.quote p {
  color: var(--steel);
  font-size: 18px;
  max-width: 760px;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  padding: 15px 24px;
  font-weight: 900;
  transition: .2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #111;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(242, 106, 33, .28);
}

.btn-outline {
  border-color: var(--line);
  color: var(--light);
  background: rgba(255,255,255,.035);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.trust-strip {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span,
.material-grid span {
  border: 1px solid var(--line);
  color: var(--steel);
  background: rgba(255,255,255,.04);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
    var(--panel);
  border-radius: 32px;
  padding: 28px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.panel-grid {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.metric {
  background: rgba(8, 9, 11, .62);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 22px;
}

.metric strong {
  color: var(--orange);
  font-size: 34px;
  display: block;
  margin-bottom: 6px;
}

.metric span {
  color: var(--steel);
  font-weight: 700;
}

.tech-visual {
  position: absolute;
  inset: auto -30px -40px auto;
  width: 360px;
  height: 270px;
  opacity: .9;
}

.hex {
  position: absolute;
  width: 170px;
  height: 170px;
  background: linear-gradient(135deg, rgba(242,106,33,.85), rgba(105,112,124,.7));
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  border: 1px solid rgba(255,255,255,.2);
}

.h1 { right: 70px; bottom: 25px; }
.h2 { right: 190px; bottom: 85px; transform: scale(.55); opacity: .45; }
.h3 { right: 10px; bottom: 170px; transform: scale(.38); opacity: .35; }

.scan-line {
  position: absolute;
  width: 450px;
  height: 3px;
  background: var(--orange);
  transform: rotate(-22deg);
  right: -50px;
  bottom: 120px;
  box-shadow: 0 0 24px var(--orange);
  animation: scan 3.2s infinite;
}

@keyframes scan {
  0%, 100% { opacity: .18; transform: translateY(-50px) rotate(-22deg); }
  50% { opacity: 1; transform: translateY(55px) rotate(-22deg); }
}

.section {
  padding: 96px 7%;
}

.intro,
.dark-split,
.materials,
.quote-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.intro {
  background: var(--graphite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
}

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

.service-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  min-height: 430px;
  transition: .22s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: .22s;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(242,106,33,.55);
}

.service-card:hover::after,
.featured::after {
  opacity: 1;
}

.featured {
  border-color: rgba(242,106,33,.55);
  box-shadow: 0 24px 70px rgba(242,106,33,.11);
}

.service-number {
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 28px;
}

.service-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.service-card p,
.service-card li,
.step p,
.benefits span,
.footer p {
  color: var(--steel);
}

.service-card ul {
  margin-top: 24px;
  padding-left: 18px;
}

.service-card li {
  margin-bottom: 10px;
}

.dark-split {
  background:
    radial-gradient(circle at 20% 20%, rgba(242,106,33,.13), transparent 25%),
    #101218;
}

.benefits {
  display: grid;
  gap: 18px;
}

.benefits div,
.step {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.benefits strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: #111;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.materials {
  background: var(--graphite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.material-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.material-grid span {
  font-size: 16px;
  padding: 13px 18px;
}

.quote {
  background: var(--black);
}

.quote-box {
  border: 1px solid rgba(242,106,33,.25);
  background:
    radial-gradient(circle at top right, rgba(242,106,33,.18), transparent 30%),
    var(--panel);
  padding: 52px;
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(8,9,11,.72);
  color: var(--light);
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  padding: 34px 7%;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  background: #07080a;
}

.footer img {
  width: 210px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #111;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

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

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

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

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    right: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    width: 230px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-content,
  .intro,
  .dark-split,
  .materials,
  .quote-box,
  .cards,
  .timeline,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 50px;
  }

  .hero-panel {
    min-height: 430px;
  }

  .brand img {
    width: 190px;
  }

  .quote-box {
    padding: 32px 22px;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    padding-left: 5%;
    padding-right: 5%;
  }

  h1 {
    font-size: 42px;
  }

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

  .whatsapp-float {
    left: 18px;
    right: 18px;
    text-align: center;
  }
}

/* ===== Galeria de trabalhos ===== */
.gallery {
  background:
    radial-gradient(circle at 80% 10%, rgba(242,106,33,.10), transparent 28%),
    var(--graphite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.gallery-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--panel);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 14px;
  background: linear-gradient(to top, rgba(8,9,11,.92), transparent);
  transform: translateY(8px);
  opacity: 0;
  transition: .3s;
}

.gallery-item:hover .cap {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item .cap strong {
  display: block;
  font-size: 15px;
  color: var(--light);
}

.gallery-item .cap span {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 5, 7, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5%;
  cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 14px;
  border: 1px solid var(--line);
}

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

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