/*
----------------------------------------------------
Projeto:
Landing Page KMULT CORPORATIVO

Desenvolvimento:
Voltbyte Tecnologia

Site:
https://voltbyte.com.br

Todos os direitos do código pertencem à Voltbyte.
----------------------------------------------------
*/

:root {
  --bg: #0b1418;
  --bg-soft: #101d23;
  --panel: #14242b;
  --panel-strong: #182c34;
  --text: #eef7f6;
  --muted: #b2c3c4;
  --line: rgba(178, 218, 217, 0.16);
  --accent: #61f0d5;
  --accent-dark: #0aa68f;
  --accent-soft: rgba(97, 240, 213, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(97, 240, 213, 0.1), transparent 34rem),
    linear-gradient(135deg, #0b1418 0%, #13232a 44%, #0d171c 100%);
  line-height: 1.6;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  background: var(--accent);
  color: #061113;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 108px 0;
  position: relative;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 17, 21, 0.88);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1240px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 176px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav-panel,
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-panel {
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8df7e5);
  color: #061113;
  box-shadow: 0 16px 40px rgba(97, 240, 213, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(97, 240, 213, 0.55);
  background: var(--accent-soft);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 132px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(97, 240, 213, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 240, 213, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.24;
}

.hero-content p,
.section-copy p,
.section-heading p,
.cta-panel p,
.contact-info p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.hero-indicators {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-indicators li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #d9e8e7;
  font-weight: 600;
}

.hero-visual {
  min-height: 520px;
  position: relative;
}

.hero-logo-showcase {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 620px);
  max-height: 560px;
  margin: 0;
  margin-left: auto;
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(97, 240, 213, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(97, 240, 213, 0.16);
  box-shadow: var(--shadow), inset 0 0 80px rgba(97, 240, 213, 0.06);
  animation: floatPanel 7s ease-in-out infinite;
}

.hero-logo-showcase::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(97, 240, 213, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo-showcase img {
  position: relative;
  width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.34));
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.feature-grid,
.benefit-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid article,
.benefit-grid article,
.solution-card,
.ecosystem-cards article,
.contact-form,
.contact-cards article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid svg,
.benefit-grid svg,
.card-top svg,
.contact-cards svg {
  color: var(--accent);
}

.solutions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(97, 240, 213, 0.025));
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.solution-card {
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(97, 240, 213, 0.42);
  background: linear-gradient(145deg, rgba(97, 240, 213, 0.09), rgba(255, 255, 255, 0.035));
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.card-top h3,
.feature-grid h3 {
  margin-bottom: 0;
}

.solution-card p {
  color: var(--muted);
}

.solution-card ul {
  columns: 2;
  gap: 24px;
  padding-left: 18px;
  color: #d5e5e4;
  margin-bottom: 24px;
}

.solution-card li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.ecosystem {
  background: linear-gradient(180deg, rgba(97, 240, 213, 0.025), rgba(255, 255, 255, 0.018));
}

.ecosystem-frame {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px;
  border-radius: var(--radius);
  background: #f5f8f8;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.ecosystem-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: #102229;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ecosystem-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #ffffff;
  cursor: zoom-in;
}

.ecosystem-zoom img {
  width: 100%;
  height: auto;
  max-height: min(78vh, 760px);
  object-fit: contain;
  border-radius: var(--radius);
}

.ecosystem-text {
  max-width: 980px;
  margin: 30px auto 34px;
  color: var(--muted);
  text-align: center;
  font-size: 1.06rem;
}

.ecosystem-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ecosystem-cards article {
  padding: 24px;
}

.ecosystem-cards svg {
  color: var(--accent);
  margin-bottom: 14px;
}

.ecosystem-cards ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.ecosystem-cards li {
  margin-bottom: 7px;
}

.ecosystem-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.partners {
  overflow: hidden;
  padding-top: 88px;
  padding-bottom: 88px;
}

.partners-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.partners-carousel::before,
.partners-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(12vw, 150px);
  height: 100%;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.partners-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 24px 18px;
  animation: partnerMarquee 54s linear infinite;
}

.partners-carousel:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo {
  display: grid;
  place-items: center;
  flex: 0 0 250px;
  height: 118px;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid rgba(178, 218, 217, 0.2);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

.partner-logo img {
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

.partner-logo img[src*="apple"],
.partner-logo img[src*="coreldraw"] {
  max-height: 86px;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-grid article {
  min-height: 138px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-weight: 700;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding: 64px 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.timeline li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--accent);
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
}

.timeline span {
  color: var(--muted);
}

.commercial-cta {
  padding: 80px 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 46px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(97, 240, 213, 0.13), transparent 38%),
    linear-gradient(145deg, #111e24, #0a1115);
  border: 1px solid rgba(97, 240, 213, 0.2);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-cards article {
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
}

.contact-cards svg {
  grid-row: span 2;
}

.contact-cards span {
  color: var(--muted);
}

.contact-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.full {
  grid-column: 1 / -1;
}

label {
  color: #dce9e8;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(178, 218, 217, 0.18);
  border-radius: var(--radius);
  background: rgba(6, 15, 19, 0.72);
  color: var(--text);
  padding: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 132px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(97, 240, 213, 0.1);
}

.form-row.invalid input,
.form-row.invalid select,
.form-row.invalid textarea {
  border-color: #ff7a7a;
}

.error-message {
  min-height: 16px;
  color: #ff9a9a;
  font-size: 0.82rem;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--accent);
  margin: 0;
}

.site-footer {
  padding: 70px 0 24px;
  border-top: 1px solid var(--line);
  background: #081115;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 32px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-grid img {
  width: 176px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}

.footer-grid h2 {
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-grid a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.developer-credit a {
  color: #dce9e8;
  font-weight: 800;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.developer-credit a:hover,
.developer-credit a:focus {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(97, 240, 213, 0.25);
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 22px;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(97, 240, 213, 0.45);
  background: #16c7a8;
  color: #041111;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.floating-whatsapp {
  bottom: 90px;
}

.back-to-top {
  bottom: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.image-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 10, 0.82);
  backdrop-filter: blur(8px);
}

.image-modal__content {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(96vw, 1320px);
  max-height: 92vh;
  overflow: auto;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
  box-shadow: var(--shadow);
  touch-action: pinch-zoom;
}

.image-modal__content img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.image-modal__close {
  position: sticky;
  top: 0;
  left: 100%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-bottom: 10px;
  border: 1px solid rgba(16, 34, 41, 0.14);
  border-radius: var(--radius);
  background: #102229;
  color: var(--text);
  cursor: pointer;
}

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

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

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes partnerMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .partners-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
}
