:root {
  --black: #080a0f;
  --dark: #11151d;
  --dark-soft: #192130;

  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #94a3b8;
  --gray-600: #64748b;
  --gray-700: #475569;

  --yellow: #f7c928;
  --yellow-light: #ffe883;

  --red: #bd1735;
  --red-dark: #76132a;

  --green: #20c779;
  --blue: #3b82f6;
  --purple: #9b67e8;

  --container: 1180px;
  --radius-sm: 11px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 30px 75px rgba(0, 0, 0, 0.28);

  --transition: 0.3s ease;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  color: var(--dark);
  background: var(--white);
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 15, 0.92);
  backdrop-filter: blur(18px);
}

.header-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  width: 210px;
  flex-shrink: 0;
}

.brand img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  color: var(--gray-300);
  font-size: 0.82rem;
  font-weight: 600;
}

.main-nav a {
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--yellow);
}

.main-nav .nav-button {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--black);
  background: var(--yellow);
}

.main-nav .nav-button:hover {
  color: var(--black);
  background: var(--yellow-light);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 1.45rem;
  cursor: pointer;
}

/* Hero */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 84% 25%,
      rgba(247, 201, 40, 0.2),
      transparent 28%
    ),
    radial-gradient(
      circle at 5% 78%,
      rgba(189, 23, 53, 0.18),
      transparent 33%
    ),
    linear-gradient(135deg, #080a0f, #161d29);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
}

.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 70px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 700px;
  margin: 18px 0 25px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5.3vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-content h1 span {
  display: block;
  color: var(--yellow);
}

.hero-content > p {
  max-width: 625px;
  color: var(--gray-300);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-content > p + p {
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: var(--transition);
}

.button-primary {
  color: var(--black);
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(247, 201, 40, 0.18);
}

.button-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.button-outline:hover {
  color: var(--dark);
  background: var(--white);
  transform: translateY(-3px);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 560px;
  margin-top: 28px;
  color: var(--gray-500);
  font-size: 0.76rem;
  line-height: 1.6;
}

.hero-note i {
  margin-top: 3px;
  color: var(--green);
}

/* Elemento visual da consultoria */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(247, 201, 40, 0.26);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-one {
  width: 460px;
  height: 240px;
}

.orbit-two {
  width: 370px;
  height: 190px;
  transform: rotate(28deg);
  border-color: rgba(255, 255, 255, 0.15);
}

.orbit-three {
  width: 290px;
  height: 150px;
  transform: rotate(-55deg);
  border-color: rgba(189, 23, 53, 0.5);
}

.consulting-core {
  position: relative;
  z-index: 4;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(247, 201, 40, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(247, 201, 40, 0.3),
      transparent 58%
    ),
    rgba(17, 21, 29, 0.88);
  box-shadow:
    0 0 0 15px rgba(247, 201, 40, 0.035),
    0 0 75px rgba(247, 201, 40, 0.18);
  text-align: center;
}

.core-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 16px;
  color: var(--black);
  background: var(--yellow);
  font-size: 1.45rem;
}

.consulting-core strong {
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.consulting-core span {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 0.66rem;
}

.consulting-node {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  color: var(--gray-200);
  background: rgba(17, 21, 29, 0.9);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.consulting-node i {
  color: var(--yellow);
}

.node-security {
  top: 10%;
  left: 3%;
  animation: floatNode 5.5s ease-in-out infinite;
}

.node-process {
  top: 18%;
  right: 0%;
  animation: floatNode 5.5s ease-in-out 0.9s infinite;
}

.node-infrastructure {
  right: 3%;
  bottom: 15%;
  animation: floatNode 5.5s ease-in-out 1.7s infinite;
}

.node-ai {
  bottom: 11%;
  left: 5%;
  animation: floatNode 5.5s ease-in-out 2.4s infinite;
}

.signal {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(247, 201, 40, 0.11);
  animation: signalPulse 2.4s ease-in-out infinite;
}

.signal-one {
  top: 31%;
  left: 20%;
}

.signal-two {
  top: 67%;
  right: 17%;
  animation-delay: 0.8s;
}

.signal-three {
  top: 17%;
  left: 53%;
  animation-delay: 1.6s;
}

@keyframes floatNode {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.65);
    opacity: 1;
  }
}

/* Seções gerais */
.section {
  padding: 120px 0;
}

.section-heading {
  max-width: 770px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2,
.introduction-heading h2,
.situations-content h2,
.cta-content h2 {
  margin: 17px 0 20px;
  color: var(--dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-heading h2 span,
.introduction-heading h2 span,
.situations-content h2 span,
.cta-content h2 span {
  color: var(--red);
}

.section-heading > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Introdução */
.introduction-section {
  background: var(--white);
}

.introduction-grid {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  align-items: center;
  gap: 85px;
}

.introduction-heading h2 {
  max-width: 470px;
}

.introduction-content > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.85;
}

.introduction-content > p + p {
  margin-top: 14px;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 27px;
  padding: 21px;
  border: 1px solid rgba(247, 201, 40, 0.55);
  border-radius: var(--radius-md);
  background: #fffbe8;
}

.highlight-box > i {
  margin-top: 3px;
  color: #ca9e00;
  font-size: 1.3rem;
}

.highlight-box strong,
.highlight-box span {
  display: block;
}

.highlight-box strong {
  margin-bottom: 5px;
  color: var(--dark);
  font-size: 0.85rem;
}

.highlight-box span {
  color: var(--gray-600);
  font-size: 0.78rem;
  line-height: 1.65;
}

/* Áreas */
.expertise-section {
  background: var(--gray-100);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expertise-card {
  min-height: 335px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.expertise-card:hover {
  border-color: rgba(189, 23, 53, 0.2);
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.expertise-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.expertise-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--red);
  background: #fff0f2;
  font-size: 1.3rem;
}

.expertise-number {
  color: var(--gray-300);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.expertise-card h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
}

.expertise-card p {
  color: var(--gray-600);
  font-size: 0.81rem;
  line-height: 1.72;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 800;
  transition: var(--transition);
}

.card-link:hover {
  gap: 13px;
}

/* Situações */
.situations-section {
  background: var(--white);
}

.situations-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 85px;
}

.situations-content > p {
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--red);
  font-size: 0.83rem;
  font-weight: 800;
  transition: var(--transition);
}

.text-link:hover {
  gap: 14px;
}

.situations-list {
  display: grid;
  gap: 14px;
}

.situation-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 17px;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: var(--transition);
}

.situation-item:hover {
  border-color: rgba(189, 23, 53, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.situation-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--red);
  background: #fff0f2;
  font-size: 1rem;
}

.situation-item h3 {
  margin-bottom: 6px;
  color: var(--dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.situation-item p {
  color: var(--gray-600);
  font-size: 0.77rem;
  line-height: 1.6;
}

/* Método */
.method-section {
  background: var(--gray-100);
}

.method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.method-timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--yellow),
    var(--red),
    var(--yellow)
  );
}

.method-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.method-marker {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 5px solid var(--gray-100);
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
}

.method-step:nth-child(2) .method-marker {
  background: #efb83e;
}

.method-step:nth-child(3) .method-marker {
  color: var(--white);
  background: var(--red);
}

.method-step:nth-child(4) .method-marker {
  color: var(--white);
  background: var(--red-dark);
}

.method-card {
  min-height: 205px;
  padding: 25px 19px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.method-card > i {
  margin-bottom: 17px;
  color: var(--red);
  font-size: 1.35rem;
}

.method-card h3 {
  margin-bottom: 10px;
  color: var(--dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.method-card p {
  color: var(--gray-600);
  font-size: 0.77rem;
  line-height: 1.65;
}

/* CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 84% 15%,
      rgba(247, 201, 40, 0.26),
      transparent 28%
    ),
    linear-gradient(125deg, var(--red-dark), var(--red));
}

.cta-section::after {
  content: "CS";
  position: absolute;
  right: 4%;
  bottom: -110px;
  color: rgba(255, 255, 255, 0.07);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22rem;
  font-weight: 800;
  line-height: 1;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-top: 85px;
  padding-bottom: 85px;
}

.light-label {
  color: var(--yellow);
}

.cta-content h2 {
  max-width: 680px;
  color: var(--white);
}

.cta-content h2 span {
  display: block;
  color: var(--yellow);
}

.cta-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-shrink: 0;
}

.button-whatsapp {
  color: var(--white);
  background: var(--green);
}

.button-whatsapp:hover {
  color: var(--white);
  background: #18a964;
  transform: translateY(-3px);
}

.button-light-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.button-light-outline:hover {
  color: var(--red);
  background: var(--white);
}

/* Rodapé */
.site-footer {
  color: var(--gray-300);
  background: var(--black);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  align-items: center;
  gap: 45px;
  padding-top: 60px;
  padding-bottom: 50px;
}

.footer-brand img {
  width: 225px;
  max-height: 78px;
  margin-bottom: 20px;
  object-fit: contain;
  object-position: left center;
  filter: none;
  /*filter: brightness(0) invert(1);*/
}

.footer-brand p {
  max-width: 280px;
  color: var(--gray-500);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gray-500);
  font-size: 0.77rem;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--yellow);
}

.footer-contact i {
  width: 16px;
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--gray-600);
  font-size: 0.68rem;
}

.footer-bottom .container {
  padding-top: 19px;
  padding-bottom: 19px;
}

/* Animações */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 980px) {
  .main-nav {
    gap: 15px;
  }

  .hero-grid,
  .introduction-grid,
  .situations-grid {
    gap: 45px;
  }

  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .header-content {
    min-height: 72px;
  }

  .brand {
    width: 180px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    background: var(--dark);
    box-shadow: var(--shadow-md);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
    border-radius: 8px;
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .main-nav .nav-button {
    margin-top: 7px;
    text-align: center;
  }

  .hero-grid,
  .introduction-grid,
  .situations-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content > p,
  .hero-note {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    text-align: left;
  }

  .hero-visual {
    min-height: 470px;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .introduction-heading,
  .situations-content {
    text-align: center;
  }

  .introduction-heading .section-label,
  .situations-content .section-label {
    justify-content: center;
  }

  .introduction-heading h2 {
    max-width: none;
  }

  .method-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .method-timeline::before {
    display: none;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-grid {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 75px;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 385px;
    transform: scale(0.9);
  }

  .orbit-one {
    width: 390px;
    height: 205px;
  }

  .orbit-two {
    width: 320px;
    height: 168px;
  }

  .orbit-three {
    width: 250px;
    height: 130px;
  }

  .consulting-core {
    width: 155px;
    height: 155px;
  }

  .core-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .consulting-node {
    padding: 9px 10px;
    font-size: 0.59rem;
  }

  .node-security {
    left: -3%;
  }

  .node-process {
    right: -3%;
  }

  .node-infrastructure {
    right: -4%;
  }

  .node-ai {
    left: -3%;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading h2,
  .introduction-heading h2,
  .situations-content h2,
  .cta-content h2 {
    font-size: 2.15rem;
  }

  .expertise-grid,
  .method-timeline {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: auto;
  }

  .situation-item {
    grid-template-columns: 44px 1fr;
    padding: 17px;
    text-align: left;
  }

  .situation-icon {
    width: 39px;
    height: 39px;
    font-size: 0.85rem;
  }

  .highlight-box {
    text-align: left;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 33px;
    padding-top: 50px;
  }
}

/* Redução de movimento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}