button:not(:disabled), [role="button"]:not(:disabled) { cursor: pointer; }

:root {
  --navy: #090d18;
  --navy-2: #0e1524;
  --navy-3: #131d30;
  --violet: #4b0082;
  --violet-soft: #8061a8;
  --silver: #c0c5ce;
  --cyan: #00e5ff;
  --white: #ffffff;
  --light: #f5f6f8;
  --pearl: #eef0f3;
  --pearl-up: #f5f6f8;
  --pearl-down: #e6e8ec;
  --text: #f7f7fa;
  --muted: #a8afbc;
  --line: rgba(192, 197, 206, 0.18);
  --max: 1380px;
  --header-h: 96px;
  --font-display: "Satoshi", "Segoe UI", system-ui, sans-serif;
  --font-body: "General Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--violet);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(9, 13, 24, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(9, 13, 24, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.header-lockup {
  height: 78px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
  transition: filter 0.22s var(--ease);
}

.header-brand:hover .header-lockup {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.48));
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: #c5cbd4;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  transition:
    color 0.18s var(--ease),
    background 0.18s var(--ease);
  position: relative;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav a.is-active {
  color: #fff;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--violet-soft);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.theme-toggle,
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #e4e7ee;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  transition:
    border-color 0.18s var(--ease),
    background 0.18s var(--ease),
    color 0.18s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: rgba(192, 197, 206, 0.4);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.theme-toggle svg,
.menu-toggle svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
}

.screen {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

/* ---------- HERO ---------- */
.hero {
  padding: clamp(7.8rem, 13vh, 10.5rem) clamp(1.5rem, 6vw, 7rem) 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  background:
    radial-gradient(circle at 8% 22%, rgba(75, 0, 130, 0.2), transparent 34%),
    var(--navy);
}

.hero-copy {
  max-width: 820px;
  position: relative;
  z-index: 3;
}

.brand-lockup {
  width: min(780px, 100%);
  margin: 0 0 1.35rem -0.15rem;
  position: relative;
}

.brand-lockup img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.logo-light {
  display: none !important;
}

.kicker {
  margin: 0 0 1rem;
  color: #b39dcc;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1,
.company h2,
.solve h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.6rem);
  max-width: 13ch;
}

.hero h1 em,
.company h2 em,
.solve h2 em {
  color: #a488c6;
  font-style: normal;
}

.lead {
  max-width: 61ch;
  color: #b7bdc8;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  margin: 1.7rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #4b0082;
  color: #fff;
}

.button.primary:hover {
  background: #5a1496;
}

.button.secondary {
  border: 1px solid var(--line);
  color: #d8dce3;
}

.button.secondary:hover {
  border-color: rgba(192, 197, 206, 0.4);
}

.hero-visual {
  position: absolute;
  right: 0;
  top: var(--header-h);
  bottom: 0;
  width: 48%;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      var(--navy) 0%,
      rgba(9, 13, 24, 0.86) 10%,
      rgba(9, 13, 24, 0.2) 42%,
      rgba(9, 13, 24, 0.05) 100%
    ),
    linear-gradient(0deg, var(--navy) 0%, transparent 24%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.98);
}

.hero-signature {
  position: absolute;
  z-index: 4;
  left: clamp(1.5rem, 6vw, 7rem);
  bottom: 2rem;
  display: flex;
  gap: 1.15rem;
  color: #8e96a5;
  font-size: 0.8rem;
}

.hero-signature strong {
  color: var(--cyan);
  font-weight: 600;
}

/* ---------- EMPRESA ---------- */
.company {
  padding: clamp(7rem, 11vh, 9rem) clamp(1.5rem, 6vw, 7rem) 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  background: var(--light);
  color: #101522;
}

.section-number {
  position: absolute;
  right: 4vw;
  top: 7rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 700;
  color: rgba(16, 21, 34, 0.035);
}

.company-main {
  max-width: 850px;
}

.company h2,
.solve h2 {
  font-size: clamp(2.5rem, 4.25vw, 4.7rem);
}

.company .kicker {
  color: #4b0082;
}

.company h2 em {
  color: #4b0082;
}

.company-intro {
  max-width: 72ch;
  margin: 1.7rem 0 2.8rem;
  color: #555c69;
  font-size: 1.08rem;
  line-height: 1.7;
}

.simple-flow {
  border-top: 1px solid #d8dce2;
  border-bottom: 1px solid #d8dce2;
  padding: 1.8rem 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.simple-flow > div span {
  display: block;
  color: #4b0082;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.simple-flow strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
}

.simple-flow p {
  margin: 0.55rem 0 0;
  color: #6b717c;
  font-size: 0.91rem;
  line-height: 1.55;
}

.flow-arrow {
  width: 28px;
  height: 1px;
  background: #aab0ba;
  position: relative;
  margin-top: 1.7rem;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border: 4px solid transparent;
  border-left: 6px solid #aab0ba;
}

.principle {
  margin: 2rem 0 0;
  color: #656c78;
}

.principle strong {
  color: #141a27;
}

.company-image {
  margin: 0;
  position: relative;
}

.company-image img {
  width: 100%;
  height: min(62vh, 650px);
  object-fit: cover;
  border-radius: 2px;
}

.image-note {
  position: absolute;
  left: -2rem;
  bottom: 2rem;
  width: min(360px, 86%);
  padding: 1rem 1.2rem;
  background: #0a1020;
  color: #dde1e8;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---------- RESOLVE ---------- */
.solve {
  background: #0c1220;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
}

.solve-image {
  min-height: 100svh;
  position: relative;
}

.solve-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 18, 32, 0.05), rgba(12, 18, 32, 0.42) 75%, #0c1220 100%);
}

.solve-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solve-copy {
  align-self: center;
  padding: clamp(7rem, 11vh, 9rem) clamp(1.5rem, 6vw, 7rem) 5rem clamp(2rem, 5vw, 6rem);
  max-width: 960px;
}

.solve h2 {
  color: #fff;
}

.solve-lead {
  color: #b6bdc8;
  max-width: 66ch;
  line-height: 1.65;
  font-size: 1.08rem;
  margin: 1.6rem 0 2.1rem;
}

.loss-lines {
  border-top: 1px solid var(--line);
}

.loss-lines > div {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) 1.28fr;
  gap: 1.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.loss-lines strong {
  font-family: var(--font-display);
  color: #f4f5f7;
  font-size: 1rem;
}

.loss-lines p {
  margin: 0;
  color: #959ead;
  font-size: 0.92rem;
  line-height: 1.5;
}

.responsibility {
  margin-top: 1.7rem;
  color: #9ea6b3;
  font-size: 0.9rem;
  line-height: 1.6;
}

.responsibility span {
  color: #00e5ff;
  font-weight: 600;
}

/* ---------- CONTATO ---------- */
.contact {
  background: #090d18;
  padding: clamp(8rem, 14vh, 11rem) clamp(1.5rem, 7vw, 8rem) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-brand {
  width: min(760px, 92vw);
  margin: 0 0 3rem -0.15rem;
  position: relative;
}

.contact-brand img {
  width: 100%;
  height: auto;
  position: relative;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.contact-content {
  max-width: 900px;
}

.contact h2 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  max-width: 14ch;
}

.contact-content > p:not(.kicker) {
  max-width: 65ch;
  color: #a7afbc;
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 1.5rem 0 2.4rem;
}

.email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  color: #fff;
  border-bottom: 1px solid #604179;
  padding-bottom: 0.3rem;
  transition:
    border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.email:hover {
  border-bottom-color: var(--cyan);
}

.footer-line {
  margin-top: auto;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  color: #8c94a2;
  font-size: 0.78rem;
}

.footer-line span {
  color: #bfc5cf;
}

.footer-line small {
  margin-left: auto;
}

/* ---------- LIGHT THEME ---------- */
[data-theme="light"] {
  --text: #111827;
  --muted: #59606c;
}

[data-theme="light"] body {
  background: var(--pearl);
  color: #111827;
}

[data-theme="light"] .site-header {
  background: rgba(245, 246, 248, 0.94);
  border-bottom-color: #d5d8de;
}

[data-theme="light"] .site-header.is-scrolled {
  background: rgba(245, 246, 248, 0.98);
  box-shadow: 0 8px 24px rgba(16, 21, 34, 0.06);
}

[data-theme="light"] .logo-dark {
  display: none !important;
}

[data-theme="light"] .logo-light {
  display: block !important;
}

[data-theme="light"] .nav a {
  color: #4e5561;
}

[data-theme="light"] .nav a:hover {
  color: #111827;
  background: rgba(16, 21, 34, 0.05);
}

[data-theme="light"] .nav a.is-active {
  color: #111827;
}

[data-theme="light"] .header-lockup {
  filter: drop-shadow(0 6px 14px rgba(16, 21, 34, 0.14));
}

[data-theme="light"] .header-brand:hover .header-lockup {
  filter: drop-shadow(0 10px 18px rgba(16, 21, 34, 0.16));
}

[data-theme="light"] .brand-lockup img,
[data-theme="light"] .contact-brand img {
  filter: drop-shadow(0 14px 28px rgba(16, 21, 34, 0.14));
}

[data-theme="light"] .theme-toggle,
[data-theme="light"] .menu-toggle {
  color: #3a4150;
  border-color: #c9ced6;
  background: var(--pearl-up);
}

[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .menu-toggle:hover {
  border-color: #aeb4bc;
  background: #e8eaee;
  color: #111827;
}

[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 8% 22%, rgba(75, 0, 130, 0.08), transparent 32%),
    var(--pearl);
  color: #111827;
}

[data-theme="light"] .hero-visual::before {
  background:
    linear-gradient(
      90deg,
      var(--pearl) 0%,
      rgba(238, 240, 243, 0.88) 10%,
      rgba(238, 240, 243, 0.14) 45%,
      rgba(238, 240, 243, 0) 100%
    ),
    linear-gradient(0deg, var(--pearl) 0%, transparent 20%);
}

[data-theme="light"] .hero .kicker,
[data-theme="light"] .solve .kicker,
[data-theme="light"] .contact .kicker {
  color: #5b3d8a;
}

[data-theme="light"] .hero h1 em {
  color: #4b0082;
}

[data-theme="light"] .hero-signature strong {
  color: #4b0082;
}

[data-theme="light"] .lead {
  color: #5d6571;
}

[data-theme="light"] .button.secondary {
  color: #343a46;
  border-color: #c9ced6;
}

[data-theme="light"] .hero-signature {
  color: #6b7280;
}

[data-theme="light"] .company {
  background: var(--pearl-up);
}

[data-theme="light"] .simple-flow {
  border-top-color: #d5d8de;
  border-bottom-color: #d5d8de;
}

[data-theme="light"] .solve {
  background: var(--pearl-down);
  color: #111827;
}

[data-theme="light"] .solve-image::after {
  background: linear-gradient(
    90deg,
    rgba(230, 232, 236, 0.02),
    rgba(230, 232, 236, 0.45) 74%,
    var(--pearl-down) 100%
  );
}

[data-theme="light"] .solve h2,
[data-theme="light"] .loss-lines strong {
  color: #111827;
}

[data-theme="light"] .solve-lead,
[data-theme="light"] .loss-lines p,
[data-theme="light"] .responsibility {
  color: #5f6672;
}

[data-theme="light"] .loss-lines {
  border-top-color: #d0d4da;
}

[data-theme="light"] .loss-lines > div {
  border-bottom-color: #d0d4da;
}

[data-theme="light"] .contact {
  background: var(--pearl);
  color: #111827;
}

[data-theme="light"] .contact-content > p:not(.kicker) {
  color: #606875;
}

[data-theme="light"] .email {
  color: #111827;
}

[data-theme="light"] .footer-line {
  border-top-color: #d0d4da;
  color: #747c88;
}

[data-theme="light"] .footer-line span {
  color: #4e5561;
}

/* ---------- MOBILE ---------- */
@media (max-width: 980px) {
  :root {
    --header-h: 84px;
  }

  .header-lockup {
    height: 66px;
    max-width: 78px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    margin-left: 0;
    padding: 0.8rem 1.15rem 1.2rem;
    background: rgba(9, 13, 24, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  [data-theme="light"] .nav {
    background: rgba(245, 246, 248, 0.98);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.9rem;
    min-height: 44px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav a.is-active::after {
    display: none;
  }

  .nav a.is-active {
    background: rgba(75, 0, 130, 0.18);
    color: #fff;
  }

  [data-theme="light"] .nav a.is-active {
    background: rgba(75, 0, 130, 0.08);
    color: #4b0082;
  }

  .header-tools {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 7.2rem 1.35rem 4.2rem;
  }

  .hero-copy {
    max-width: none;
  }

  .brand-lockup {
    width: min(680px, 100%);
    margin-left: 0;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 2.7rem);
    margin: 2.6rem -1.35rem -4.2rem;
    height: 48vh;
    min-height: 340px;
  }

  .hero-visual::before {
    background: linear-gradient(
      180deg,
      #090d18 0%,
      rgba(9, 13, 24, 0.08) 28%,
      rgba(9, 13, 24, 0.08) 78%,
      #090d18 100%
    );
  }

  [data-theme="light"] .hero-visual::before {
    background: linear-gradient(
      180deg,
      var(--pearl) 0%,
      rgba(238, 240, 243, 0.05) 28%,
      rgba(238, 240, 243, 0.04) 78%,
      var(--pearl) 100%
    );
  }

  .hero-signature {
    display: none;
  }

  .company {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 6.5rem 1.35rem 4rem;
  }

  .simple-flow {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .flow-arrow {
    display: none;
  }

  .company-image img {
    height: 52vh;
  }

  .image-note {
    left: 1rem;
  }

  .solve {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .solve-image {
    min-height: 48vh;
    height: 48vh;
    order: 2;
  }

  .solve-image::after {
    background: linear-gradient(
      180deg,
      #0c1220 0%,
      rgba(12, 18, 32, 0.1) 30%,
      rgba(12, 18, 32, 0.05) 70%,
      #0c1220 100%
    );
  }

  [data-theme="light"] .solve-image::after {
    background: linear-gradient(
      180deg,
      var(--pearl-down) 0%,
      rgba(230, 232, 236, 0.06) 30%,
      rgba(230, 232, 236, 0.05) 70%,
      var(--pearl-down) 100%
    );
  }

  .solve-copy {
    padding: 6.5rem 1.35rem 2.5rem;
  }

  .loss-lines > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .contact {
    min-height: 100svh;
    padding: 7.5rem 1.35rem 2rem;
  }

  .contact-brand {
    width: 100%;
    margin: 0 0 2rem;
  }

  .footer-line small {
    width: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 560px) {
  .header-lockup {
    height: 58px;
    max-width: 70px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12.5vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .company h2,
  .solve h2 {
    font-size: clamp(2.35rem, 10vw, 3.45rem);
  }

  .contact h2 {
    font-size: clamp(2.45rem, 11vw, 3.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .header-lockup,
  .nav a,
  .theme-toggle,
  .menu-toggle {
    transition: none;
  }
}


/* ---------- Ajustes da versão estática Hostinger ---------- */
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-menu { display: none; }
.menu-toggle.is-open .icon-close { display: block; }

.contact-button {
  margin-top: .1rem;
  min-width: 190px;
}

@media (max-width: 560px) {
  .contact-button { width: 100%; }
}
