: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;
  --yellow-dark: #d49d00;

  --red: #bd1735;
  --red-dark: #76132a;
  --green: #20c779;
  --blue: #3b82f6;

  --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: 25px;
  color: var(--gray-300);
  font-size: 0.84rem;
  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 80% 30%,
      rgba(247, 201, 40, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(189, 23, 53, 0.18),
      transparent 33%
    ),
    linear-gradient(135deg, #080a0f, #161d29);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  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: 45px 45px;
}

.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 65px;
  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: 710px;
  margin: 18px 0 25px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5.3vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-content h1 span {
  display: block;
  color: var(--yellow);
}

.hero-content > p {
  max-width: 630px;
  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(--yellow);
}

/* Visual de desenvolvimento */
.hero-visual {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(247, 201, 40, 0.25),
    transparent 68%
  );
  filter: blur(10px);
}

.code-window {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 19px;
  background: rgba(17, 21, 29, 0.92);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-500);
}

.window-dots span:first-child {
  background: #fb7185;
}

.window-dots span:nth-child(2) {
  background: var(--yellow);
}

.window-dots span:last-child {
  background: var(--green);
}

.window-title {
  color: var(--gray-500);
  font-size: 0.68rem;
  font-weight: 600;
}

.code-content {
  min-height: 310px;
  padding: 28px 25px;
  font-family: "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 2;
}

.code-line {
  display: block;
  color: var(--gray-300);
}

.code-line em {
  color: #c084fc;
  font-style: normal;
}

.code-line b {
  color: #60a5fa;
  font-weight: 400;
}

.code-line i {
  color: var(--gray-500);
  font-style: normal;
}

.code-line strong {
  color: var(--yellow);
  font-weight: 400;
}

.code-line.indent {
  padding-left: 27px;
}

.code-line.blank {
  height: 18px;
}

.success-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.73rem;
}

.success-line i {
  color: var(--green);
}

.floating-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--gray-200);
  background: rgba(17, 21, 29, 0.9);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  font-size: 0.7rem;
  font-weight: 700;
}

.floating-badge i {
  color: var(--yellow);
}

.badge-system {
  top: 9%;
  left: -5%;
  animation: floatBadge 5s ease-in-out infinite;
}

.badge-automation {
  right: -6%;
  bottom: 29%;
  animation: floatBadge 5s ease-in-out 1.1s infinite;
}

.badge-ai {
  bottom: 8%;
  left: 7%;
  animation: floatBadge 5s ease-in-out 2s infinite;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* Seções gerais */
.section {
  padding: 120px 0;
}

.section-heading {
  max-width: 770px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2,
.ideal-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,
.ideal-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;
}

/* Possibilidades */
.possibilities-section {
  background: var(--gray-100);
}

.possibilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.possibility-card {
  min-height: 360px;
  padding: 27px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.possibility-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.possibility-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--red);
  background: #fff0f2;
  font-size: 1.3rem;
}

.possibility-card h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
}

.possibility-card > p {
  min-height: 86px;
  color: var(--gray-600);
  font-size: 0.81rem;
  line-height: 1.7;
}

.possibility-card ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.possibility-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gray-700);
  font-size: 0.76rem;
  font-weight: 600;
}

.possibility-card li i {
  color: var(--green);
}

/* Seção ideal */
.ideal-section {
  background: var(--white);
}

.ideal-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 85px;
}

.ideal-content > p {
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.8;
}

.ideal-content > p + p {
  margin-top: 14px;
}

.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;
}

.ideal-list {
  display: grid;
  gap: 14px;
}

.ideal-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);
}

.ideal-item:hover {
  border-color: rgba(189, 23, 53, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.ideal-number {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--red);
  background: #fff0f2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.ideal-item h3 {
  margin-bottom: 6px;
  color: var(--dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.ideal-item p {
  color: var(--gray-600);
  font-size: 0.77rem;
  line-height: 1.6;
}

/* Processo */
.process-section {
  background: var(--gray-100);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.process-card {
  position: relative;
  min-height: 255px;
  padding: 27px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
}

.process-number {
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--gray-200);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.process-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin: 5px auto 20px;
  border-radius: 16px;
  color: var(--red);
  background: #fff0f2;
  font-size: 1.25rem;
}

.process-card h3 {
  margin-bottom: 10px;
  color: var(--dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.process-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: 16px;
  }

  .hero-grid,
  .ideal-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,
  .ideal-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: 460px;
  }

  .possibilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ideal-content {
    text-align: center;
  }

  .ideal-content .section-label {
    justify-content: center;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .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;
  }

  .code-window {
    width: 100%;
  }

  .code-content {
    padding: 22px 16px;
    font-size: 0.68rem;
  }

  .code-line.indent {
    padding-left: 18px;
  }

  .floating-badge {
    padding: 9px 10px;
    font-size: 0.6rem;
  }

  .badge-system {
    left: -4%;
  }

  .badge-automation {
    right: -4%;
  }

  .badge-ai {
    bottom: 3%;
    left: 0;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading h2,
  .ideal-content h2,
  .cta-content h2 {
    font-size: 2.15rem;
  }

  .possibilities-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .possibility-card {
    min-height: auto;
  }

  .possibility-card > p {
    min-height: auto;
  }

  .ideal-item {
    grid-template-columns: 44px 1fr;
    padding: 17px;
    text-align: left;
  }

  .ideal-number {
    width: 39px;
    height: 39px;
    font-size: 0.85rem;
  }

  .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;
  }
}