:root {
  --gentill-bg: #02060d;
  --gentill-panel: rgba(7, 18, 33, 0.68);
  --gentill-panel-strong: rgba(6, 17, 32, 0.82);
  --gentill-line: rgba(255, 255, 255, 0.13);
  --gentill-green: #9bf65b;
  --gentill-blue: #4cc9f0;
  --gentill-mouse-x: 50vw;
  --gentill-mouse-y: 38vh;
}

html {
  background: var(--gentill-bg);
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at var(--gentill-mouse-x) var(--gentill-mouse-y), rgba(155, 246, 91, 0.10), transparent 25rem),
    radial-gradient(circle at calc(var(--gentill-mouse-x) + 18rem) calc(var(--gentill-mouse-y) - 8rem), rgba(76, 201, 240, 0.09), transparent 30rem),
    #02060d;
}

#gentill-live-canvas,
#gentill-cursor-aura {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

#gentill-live-canvas {
  z-index: 2;
  width: 100vw;
  height: 100vh;
  opacity: 0.48;
  mix-blend-mode: screen;
}

#gentill-cursor-aura {
  z-index: 3;
  opacity: 0;
  background:
    radial-gradient(circle at var(--gentill-mouse-x) var(--gentill-mouse-y), rgba(155, 246, 91, 0.18), transparent 9rem),
    radial-gradient(circle at var(--gentill-mouse-x) var(--gentill-mouse-y), rgba(76, 201, 240, 0.08), transparent 18rem);
  transition: opacity 240ms ease;
}

body.gentill-pointer-active #gentill-cursor-aura {
  opacity: 1;
}

#root {
  isolation: isolate;
  position: relative;
  z-index: 1;
  background: transparent !important;
}

#root section {
  background-color: transparent !important;
  overflow: clip;
}

#root section::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 13, 0.26), rgba(2, 6, 13, 0.14) 46%, rgba(2, 6, 13, 0.30)),
    radial-gradient(circle at 12% 18%, rgba(76, 201, 240, 0.06), transparent 24rem),
    radial-gradient(circle at 86% 20%, rgba(155, 246, 91, 0.055), transparent 25rem);
}

#root section > * {
  position: relative;
  z-index: 1;
}

#root nav {
  z-index: 60;
}

#root img {
  image-rendering: auto;
}

#root h1,
#root h2,
#root h3 {
  text-wrap: balance;
}

#root p {
  text-wrap: pretty;
}

#root section:first-of-type {
  padding-top: clamp(6.5rem, 9vh, 8.5rem) !important;
  padding-bottom: clamp(3rem, 7vh, 6rem) !important;
}

#root section:first-of-type > div {
  width: min(100%, 1240px);
}

#root [class*="max-w-7xl"],
#root [class*="max-w-6xl"] {
  max-width: 78rem !important;
}

#root [class*="rounded-"][class*="border-white"] {
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 20px 70px rgba(0, 0, 0, 0.18);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms ease,
    box-shadow 420ms ease,
    background-color 420ms ease;
}

#root [class*="rounded-"][class*="border-white"]:hover {
  border-color: rgba(155, 246, 91, 0.32) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 26px 90px rgba(0, 0, 0, 0.28),
    0 0 44px rgba(76, 201, 240, 0.08);
}

#root a[href*="wa.me"],
#root a[href="/contato"],
#root a[href="/contato/"],
#root button {
  will-change: transform;
}

#root a[href*="wa.me"]:hover,
#root a[href="/contato"]:hover,
#root a[href="/contato/"]:hover,
#root button:hover {
  transform: translateY(-2px) scale(1.015);
}

#root [class*="backdrop-blur"],
#root article {
  backdrop-filter: blur(18px) saturate(1.18);
}

#root article {
  min-height: 25rem;
}

#root section:not(:first-of-type) {
  padding-top: clamp(5.5rem, 10vw, 8.5rem) !important;
  padding-bottom: clamp(5.5rem, 10vw, 8.5rem) !important;
}

#root .gentill-revealed {
  animation: gentill-section-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#root .gentill-atuacao-section {
  padding-top: clamp(5rem, 8vw, 7rem) !important;
  padding-bottom: clamp(5rem, 8vw, 7rem) !important;
}

#root .gentill-atuacao-shell {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
}

#root .gentill-atuacao-panel {
  position: relative;
  grid-column: 1 / -1 !important;
  width: min(100%, 74rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 3.2vw, 2.75rem) !important;
  border-radius: clamp(1.35rem, 2.6vw, 2rem) !important;
  background:
    radial-gradient(circle at 15% 8%, rgba(155, 246, 91, 0.10), transparent 21rem),
    radial-gradient(circle at 90% 15%, rgba(76, 201, 240, 0.12), transparent 24rem),
    rgba(6, 17, 32, 0.74) !important;
}

#root .gentill-atuacao-panel > div:first-child {
  display: grid !important;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 4vw, 3.75rem) !important;
  align-items: start !important;
}

#root .gentill-atuacao-panel h3 {
  max-width: 11.5em !important;
  font-size: clamp(2.15rem, 4vw, 4rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
}

#root .gentill-atuacao-panel p {
  max-width: 38rem !important;
}

#root .gentill-atuacao-panel [class*="md:grid-cols-2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

#root .gentill-atuacao-panel [class*="md:grid-cols-2"] > div {
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#root .gentill-atuacao-panel [class*="xl:grid-cols-3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#root .gentill-atuacao-panel [class*="xl:grid-cols-3"] > div {
  display: flex;
  align-items: center;
  min-height: 4.85rem;
}

#root .gentill-atuacao-panel.gentill-atuacao-custom {
  padding: clamp(2rem, 4vw, 3.5rem) !important;
}

.gentill-atuacao-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.gentill-kicker {
  margin: 0 0 1rem;
  color: var(--gentill-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.gentill-atuacao-title {
  max-width: 11.8em;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 4.2vw, 4.35rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.gentill-atuacao-lead {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.8;
}

.gentill-atuacao-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gentill-atuacao-card {
  min-height: 12rem !important;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gentill-atuacao-card strong {
  display: block;
  margin-top: 0.85rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.gentill-atuacao-card p {
  margin: 0.65rem 0 0;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.58;
}

.gentill-atuacao-icon {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.9rem;
  color: #061120;
  background: linear-gradient(135deg, var(--gentill-green), var(--gentill-blue));
  font-size: 1.05rem;
  font-weight: 800;
}

.gentill-sinais {
  margin-top: clamp(2rem, 3vw, 2.75rem);
  padding-top: clamp(1.5rem, 2.4vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gentill-sinais-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1rem;
}

.gentill-sinais-head p {
  max-width: 33rem;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.gentill-sinais-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.gentill-sinais-grid span {
  min-height: 4.9rem;
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.45;
}

@keyframes gentill-section-rise {
  from {
    opacity: 0.86;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  #root section:first-of-type p {
    max-width: 35rem;
  }
}

@media (max-width: 767px) {
  #gentill-live-canvas {
    opacity: 0.78;
  }

  #root section::before {
    background:
      linear-gradient(180deg, rgba(2, 6, 13, 0.42), rgba(2, 6, 13, 0.22) 42%, rgba(2, 6, 13, 0.44)),
      radial-gradient(circle at 50% 18%, rgba(155, 246, 91, 0.07), transparent 19rem);
  }

  #root section:first-of-type {
    min-height: 100svh;
    padding-top: 7.25rem !important;
  }

  #root section:first-of-type h1 {
    font-size: clamp(3rem, 13.6vw, 4.8rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.05em !important;
  }

  #root section:first-of-type p {
    font-size: 1.05rem !important;
    line-height: 1.72 !important;
  }

  #root section:not(:first-of-type) {
    padding-top: 4.75rem !important;
    padding-bottom: 4.75rem !important;
  }

  #root [class*="rounded-"][class*="border-white"] {
    border-radius: 1.35rem !important;
  }

  #root .gentill-atuacao-panel > div:first-child {
    grid-template-columns: 1fr;
  }

  #root .gentill-atuacao-panel h3 {
    max-width: 100% !important;
    font-size: clamp(2.15rem, 10vw, 3.2rem) !important;
  }

  #root .gentill-atuacao-panel [class*="md:grid-cols-2"],
  #root .gentill-atuacao-panel [class*="xl:grid-cols-3"] {
    grid-template-columns: 1fr !important;
  }

  #root .gentill-atuacao-panel [class*="md:grid-cols-2"] > div {
    min-height: auto;
  }

  .gentill-atuacao-layout,
  .gentill-atuacao-grid,
  .gentill-sinais-grid {
    grid-template-columns: 1fr;
  }

  .gentill-sinais-head {
    display: block;
  }

  .gentill-atuacao-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gentill-live-canvas,
  #gentill-cursor-aura {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
