:root {
  --black: #050608;
  --black-2: #0b0d12;
  --card: rgba(255,255,255,.055);
  --card-2: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.12);
  --white: #ffffff;
  --muted: #aeb6c2;
  --blue: #2aa8ff;
  --blue-2: #005dff;
  --orange: #f59b23;
  --shadow: 0 30px 90px rgba(0,0,0,.42);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, Arial, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(42,168,255,.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(245,155,35,.12), transparent 26%),
    linear-gradient(135deg, #020304 0%, #090b10 45%, #11151c 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 78%);
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 4px 4px;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.header {
  width: min(1180px, calc(100% - 32px));
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 6, 8, .72);
  box-shadow: 0 18px 60px rgba(0,0,0,.36);
  backdrop-filter: blur(18px);
}

.logo { height: 42px; width: auto; }

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

.nav a { opacity: .82; transition: .22s ease; }
.nav a:hover { opacity: 1; color: var(--blue); }

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #06101b;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #cdeaff);
  box-shadow: 0 14px 38px rgba(42,168,255,.20);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 138px 0 78px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: 16px;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .88;
  letter-spacing: -.08em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .92;
  letter-spacing: -.07em;
}

.hero-content p,
.section-head p,
.text-block p,
.contact p {
  color: var(--muted);
  line-height: 1.78;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-content > p:not(.eyebrow) {
  margin-top: 24px;
  max-width: 660px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

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

.btn.primary {
  color: #07101a;
  background: linear-gradient(135deg, #ffffff, #d7efff);
  box-shadow: 0 20px 46px rgba(42,168,255,.22);
}

.btn.ghost {
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
}

.btn.ghost:hover { border-color: rgba(42,168,255,.58); }

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

.quick-info div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
}

.quick-info strong { display: block; color: #fff; font-size: 1.02rem; }
.quick-info span { display: block; color: var(--muted); font-size: .88rem; margin-top: 5px; }

.machine-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  inset: 16% 4% 7%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(42,168,255,.34), rgba(42,168,255,.08), transparent 68%);
  filter: blur(18px);
  animation: glow 4s ease-in-out infinite;
}

.laser-beam {
  position: absolute;
  width: 72%;
  height: 2px;
  left: 15%;
  top: 47%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(42,168,255,.15), rgba(42,168,255,.95), rgba(255,255,255,.9), transparent);
  box-shadow: 0 0 18px rgba(42,168,255,.85);
  animation: laserSweep 4.8s ease-in-out infinite;
  opacity: .78;
}

.hero-machine {
  position: relative;
  width: min(760px, 115%);
  max-width: none;
  filter: drop-shadow(0 38px 48px rgba(0,0,0,.55));
  animation: machineFloat 5s ease-in-out infinite;
}

.tube-machine {
  transform-origin: center;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-head {
  max-width: 840px;
  margin-bottom: 38px;
}

.section-head p:not(.eyebrow) { margin-top: 18px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.service-card {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.service-card.featured {
  grid-column: span 6;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 28px;
  border-color: rgba(42,168,255,.34);
  background:
    radial-gradient(circle at 24% 28%, rgba(42,168,255,.20), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 12%, rgba(42,168,255,.18), transparent 32%);
  opacity: 0;
  transition: opacity .28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(42,168,255,.45);
  background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
}

.service-card:hover::before { opacity: 1; }

.service-card img {
  position: relative;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  margin: 8px auto 26px;
  filter: drop-shadow(0 26px 36px rgba(0,0,0,.38));
  transition: transform .35s ease;
}

.service-card.featured img {
  max-height: 360px;
  margin: 0;
}

.service-card:hover img { transform: scale(1.035) translateY(-4px); }

.service-card div { position: relative; }

.service-card span {
  display: inline-block;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.service-card.featured h3 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.service-card p {
  color: var(--muted);
  line-height: 1.72;
}

.service-card.featured p {
  font-size: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.text-block {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.045);
}

.text-block p + p { margin-top: 18px; }

.stats {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  padding: 32px 18px;
  text-align: center;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: -.055em;
}

.stat span {
  display: block;
  color: var(--muted);
  margin-top: 9px;
  font-weight: 700;
}

.contact {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 38px;
  border: 1px solid rgba(42,168,255,.25);
  background:
    radial-gradient(circle at 82% 16%, rgba(42,168,255,.24), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}

.contact p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 760px;
}

address {
  margin-top: 34px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #8d96a4;
  border-top: 1px solid var(--line);
}

.footer a {
  color: #fff;
  font-weight: 800;
}

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

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

.delay { transition-delay: .15s; }

@keyframes machineFloat {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes glow {
  0%,100% { opacity: .65; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes laserSweep {
  0%, 100% { transform: translateX(-18px); opacity: .15; }
  42% { opacity: .95; }
  50% { transform: translateX(28px); opacity: .85; }
  72% { opacity: .35; }
}

@media (max-width: 940px) {
  .nav { display: none; }
  .header-btn { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .quick-info, .stats { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured { grid-column: span 1; }
  .service-card.featured { grid-template-columns: 1fr; }
  .machine-stage { min-height: 340px; }
  .hero-machine { width: 100%; }
}

@media (max-width: 560px) {
  .header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 24px;
  }

  .logo { height: 34px; }

  .hero {
    padding-top: 112px;
  }

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

  .btn {
    width: 100%;
  }

  .service-card {
    min-height: 360px;
    padding: 22px;
  }

  .service-card.featured h3 {
    font-size: 2rem;
  }

  .footer {
    flex-direction: column;
  }
}


/* Consentimento LGPD */
.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, .74);
  backdrop-filter: blur(14px);
}

.consent-overlay.show {
  display: flex;
}

.consent-modal {
  width: min(560px, 100%);
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(42,168,255,.32);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 12%, rgba(42,168,255,.24), transparent 32%),
    linear-gradient(135deg, rgba(15,18,26,.98), rgba(5,6,8,.98));
  box-shadow: 0 34px 110px rgba(0,0,0,.62);
  animation: consentIn .45s ease both;
}

.consent-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: #07101a;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #d7efff);
}

.consent-modal h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 16px;
  letter-spacing: -.045em;
}

.consent-modal p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
}

.consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.consent-actions button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 138px 0 72px;
}

.legal-card {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.legal-intro {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.1rem;
}

.legal-content {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.legal-content p {
  color: #c7ced8;
  line-height: 1.82;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.legal-back {
  margin-top: 34px;
}

@keyframes consentIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 560px) {
  .consent-actions {
    flex-direction: column;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
