:root {
  --azul: #264f6d;
  --azul-dark: #1a3a52;
  --azul-light: #3a6d8f;
  --amarelo: #ffcc29;
  --amarelo-dark: #e6b800;
  --amarelo-light: #ffe27f;
  --white: #ffffff;
  --ink-950: #08131d;
  --ink-900: #102231;
  --ink-800: #173244;
  --ink-700: #24485f;
  --slate-100: #eef3f6;
  --slate-200: #d9e3ea;
  --slate-300: #bccdd9;
  --slate-400: #91a7b7;
  --slate-500: #526f82;
  --shadow-sm: 0 10px 30px rgba(8, 19, 29, 0.08);
  --shadow-md: 0 18px 50px rgba(8, 19, 29, 0.12);
  --shadow-lg: 0 28px 70px rgba(8, 19, 29, 0.18);
  --shadow-xl: 0 38px 100px rgba(8, 19, 29, 0.24);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --container: 1220px;
  --transition: 240ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(255, 204, 41, 0.24), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(58, 109, 143, 0.18), transparent 25%),
    linear-gradient(180deg, #f9fbfc 0%, #edf3f6 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    linear-gradient(90deg, rgba(38, 79, 109, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(38, 79, 109, 0.04) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

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

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

picture {
  display: block;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
  text-align: left;
}

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

.navbar,
.hero,
.section,
.footer,
.whatsapp-float,
.back-to-top {
  position: relative;
  z-index: 1;
}

.navbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition: background-color var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(8, 19, 29, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(8, 19, 29, 0.16);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.navbar.scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.06);
}

.navbar-service {
  position: fixed;
}

.navbar-service .nav-shell {
  background: rgba(8, 19, 29, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(8, 19, 29, 0.18);
}

.nav-logo {
  margin-left: -36px;
}

.nav-logo img {
  width: clamp(178px, 17vw, 238px);
  max-height: 64px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--amarelo);
  background: rgba(255, 204, 41, 0.12);
}

.nav-links .nav-cta {
  background: var(--amarelo);
  color: var(--azul-dark);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.is-active {
  color: var(--azul-dark);
  background: var(--amarelo-light);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 280px 0 72px;
  background: var(--azul-dark); /* Fallback */
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(130deg, rgba(8, 19, 29, 0.94) 0%, rgba(26, 58, 82, 0.92) 35%, rgba(38, 79, 109, 0.88) 100%);
  z-index: 1;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.hero::before {
  display: none;
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -140px;
  background: rgba(58, 109, 143, 0.22);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: flex-start;
  gap: 48px;
}

.hero-copy {
  max-width: 680px;
}

.hero-badge,
.section-tag,
.stage-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-badge {
  color: var(--amarelo);
  background: rgba(255, 204, 41, 0.12);
  border: 1px solid rgba(255, 204, 41, 0.2);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 8px rgba(255, 204, 41, 0.12);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(3.3rem, 9vw, 7rem);
  color: var(--white);
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--amarelo);
}

.hero-subtitle {
  margin-top: 20px;
  max-width: 620px;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

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

.btn-primary {
  background: var(--amarelo);
  color: var(--azul-dark);
  box-shadow: 0 18px 36px rgba(255, 204, 41, 0.18);
}

.btn-primary:hover {
  background: var(--amarelo-light);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: rgba(255, 204, 41, 0.4);
  color: var(--amarelo);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.metric-card,
.stat-panel {
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.metric-value,
.stat-number {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 0.95;
}

.metric-value {
  color: var(--amarelo);
}

.metric-label,
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.metric-label {
  color: rgba(255, 255, 255, 0.84);
}

.hero-stage {
  position: relative;
  display: grid;
  gap: 20px;
  width: 100%;
  min-width: 0;
  transform-style: preserve-3d;
}

.hero-stage-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
}

.hero-stage-primary {
  padding: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(38, 79, 109, 0.7), rgba(16, 34, 49, 0.92));
}

.stage-kicker {
  color: var(--amarelo);
  background: rgba(255, 204, 41, 0.1);
}

.hero-stage-primary h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--white);
}

.hero-stage-primary p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
}

.hero-service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-service-chip {
  flex-grow: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  animation: chipFadeIn 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0;
  transform: translateY(15px);
}

.hero-service-chip:nth-child(1) { animation-delay: 0.05s; }
.hero-service-chip:nth-child(2) { animation-delay: 0.1s; }
.hero-service-chip:nth-child(3) { animation-delay: 0.15s; }
.hero-service-chip:nth-child(4) { animation-delay: 0.2s; }
.hero-service-chip:nth-child(5) { animation-delay: 0.25s; }
.hero-service-chip:nth-child(6) { animation-delay: 0.3s; }
.hero-service-chip:nth-child(7) { animation-delay: 0.35s; }
.hero-service-chip:nth-child(8) { animation-delay: 0.4s; }
.hero-service-chip:nth-child(9) { animation-delay: 0.45s; }
.hero-service-chip:nth-child(10) { animation-delay: 0.5s; }
.hero-service-chip:nth-child(11) { animation-delay: 0.55s; }
.hero-service-chip:nth-child(12) { animation-delay: 0.6s; }
.hero-service-chip:nth-child(13) { animation-delay: 0.65s; }
.hero-service-chip:nth-child(14) { animation-delay: 0.7s; }
.hero-service-chip:nth-child(15) { animation-delay: 0.75s; }

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

.hero-service-chip:hover {
  background: rgba(255, 204, 41, 0.16);
  color: var(--amarelo);
  border-color: rgba(255, 204, 41, 0.5);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 204, 41, 0.2);
}

.hero-stage-visual {
  min-height: 400px;
}

.hero-stage-visual picture,
.hero-stage-visual img {
  width: 100%;
  height: 100%;
}

.hero-stage-visual img {
  object-fit: cover;
  filter: saturate(1.05);
}

.hero-stage-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 19, 29, 0.08), rgba(8, 19, 29, 0.72));
}

.stage-floating-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  width: min(280px, calc(100% - 48px));
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stage-floating-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--amarelo);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-floating-card strong {
  color: var(--white);
  font-size: 1rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  animation: hero-bounce 2.4s ease-in-out infinite;
}

@keyframes hero-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(12px);
  }
}

.section {
  padding: 104px 0;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-tag {
  color: var(--azul-dark);
  background: rgba(255, 204, 41, 0.2);
}

.section-header h2,
.about-content h2,
.software-intro h2 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  text-transform: uppercase;
  color: var(--ink-900);
}

.section-header p {
  color: var(--slate-500);
  text-align: center; /* Mantém os subtítulos das seções centralizados */
}

.about-content p,
.software-intro p {
  color: var(--slate-500);
}

.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(8, 19, 29, 0.98), rgba(16, 34, 49, 0.96));
  color: var(--white);
}

.section-dark .section-tag {
  color: var(--amarelo);
  background: rgba(255, 204, 41, 0.16);
}

.section-dark .section-header h2,
.section-dark .section-header p {
  color: var(--white);
}

.section-dark .section-header p {
  opacity: 0.84;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 640px;
  box-shadow: var(--shadow-lg);
}

.about-visual picture,
.about-visual img {
  width: 100%;
  height: 100%;
}

.about-visual img {
  object-fit: cover;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 19, 29, 0.5) 100%);
}

.about-visual-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(255, 204, 41, 0.92);
  color: var(--azul-dark);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.about-visual-badge span {
  display: block;
  font-size: 3rem;
  line-height: 0.9;
}

.about-content {
  display: grid;
  gap: 18px;
}

.about-content p {
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.stat-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.stat-panel .stat-number {
  color: var(--azul-dark);
}

.stat-panel .stat-label {
  color: var(--slate-500);
}

.section-diferenciais {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
}

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

.why-card,
.service-card,
.software-card,
.team-card,
.contact-card,
.benefit-card,
.faq-item,
.srv-quick-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(38, 79, 109, 0.1);
  box-shadow: var(--shadow-sm);
}

.why-card {
  padding: 28px;
  min-height: 280px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-card:nth-child(2),
.why-card:nth-child(4) {
  transform: translateY(32px);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 204, 41, 0.34);
}

.why-icon,
.mvv-icon,
.service-icon,
.contact-icon,
.benefit-icon,
.srv-quick-icon,
.srv-hero-icon,
.srv-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--amarelo), var(--amarelo-dark));
  color: var(--azul-dark);
  font-size: 1.4rem;
  box-shadow: 0 14px 28px rgba(255, 204, 41, 0.22);
}

.why-card h3,
.service-card h3,
.software-card h3,
.team-card h3,
.benefit-card h3 {
  margin-top: 18px;
  font-size: 1.65rem;
  color: var(--ink-900);
  text-transform: uppercase;
}

.why-card p,
.service-card p,
.software-card p,
.team-card p,
.benefit-card p {
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 0.95rem;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mvv-card {
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.mvv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 204, 41, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
}

.mvv-card h3 {
  margin-top: 18px;
  font-size: 1.8rem;
  color: var(--white);
  text-transform: uppercase;
}

.mvv-card p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
}

.section-services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(217, 227, 234, 0.3));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--azul), var(--amarelo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 204, 41, 0.32);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--azul);
  font-size: 0.88rem;
  font-weight: 800;
}

.section-portfolio {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.65));
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
}

.portfolio-stack {
  display: grid;
  gap: 22px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 280px;
  box-shadow: var(--shadow-lg);
}

.portfolio-card-feature {
  min-height: 582px;
}

.portfolio-card picture,
.portfolio-card img {
  width: 100%;
  height: 100%;
}

.portfolio-card img {
  object-fit: cover;
  transition: transform 320ms ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 19, 29, 0.84) 100%);
}

.portfolio-tag {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--amarelo);
  color: var(--azul-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.portfolio-overlay h3 {
  margin-top: 16px;
  color: var(--white);
  font-size: 2rem;
  text-transform: uppercase;
}

.portfolio-overlay p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.portfolio-document {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  max-width: 980px;
  margin: 34px auto 0;
  padding: 24px 26px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(38, 79, 109, 0.1);
  box-shadow: var(--shadow-sm);
}

.portfolio-document-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(255, 204, 41, 0.18);
  color: var(--azul-dark);
  font-size: 1.35rem;
}

.portfolio-document h3 {
  color: var(--ink-900);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.portfolio-document p {
  margin-top: 6px;
  color: var(--slate-500);
}

.software-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.software-intro {
  position: sticky;
  top: 112px;
}

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

.software-card {
  padding: 18px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.software-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 204, 41, 0.34);
}

.software-preview {
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
}

.software-preview picture,
.software-preview img {
  width: 100%;
  height: 100%;
}

.software-preview img {
  object-fit: cover;
}

.software-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 54px;
  margin-top: 18px;
}

.software-logo img {
  max-height: 42px;
  max-width: 160px;
  object-fit: contain;
}

.section-team {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.92));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  padding: 30px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 204, 41, 0.34);
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 45%),
    linear-gradient(145deg, var(--azul), var(--amarelo));
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(38, 79, 109, 0.2);
}

.team-role {
  color: var(--azul);
  font-weight: 800;
}

.section-contact {
  overflow: hidden;
}

.contact-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.contact-conversion h3 {
  color: var(--white);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.contact-conversion p {
  max-width: 680px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-checklist span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-checklist i {
  color: var(--amarelo);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-card a:hover {
  color: var(--amarelo);
}

.contact-map {
  min-height: 100%;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.footer {
  padding: 72px 0 28px;
  background: #09141e;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 24px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-logo-img {
  width: 158px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--amarelo);
}

.footer-tagline {
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.footer-contact-list i {
  margin-right: 10px;
  color: var(--amarelo);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.88rem;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
}

.whatsapp-float {
  bottom: 96px;
  background: #25d366;
  color: var(--white);
  font-size: 1.6rem;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
}

.back-to-top {
  bottom: 24px;
  background: var(--amarelo);
  color: var(--azul-dark);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--amarelo-light);
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.back-btn {
  position: fixed;
  top: 128px;
  left: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(8, 19, 29, 0.9);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.back-btn:hover {
  transform: translateY(-2px);
  color: var(--amarelo);
  background: rgba(8, 19, 29, 0.96);
}

.srv-hero {
  position: relative;
  padding: 168px 0 88px;
  background:
    radial-gradient(circle at top right, rgba(255, 204, 41, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(8, 19, 29, 0.98), rgba(26, 58, 82, 0.95));
  color: var(--white);
  overflow: hidden;
}

.hexagon-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
}

.srv-hero-content {
  position: relative;
  max-width: 760px;
}

.srv-hero-content h1 {
  margin-top: 22px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  text-transform: uppercase;
}

.srv-hero-content p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.srv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.srv-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: start;
}

.srv-detail-text {
  padding-top: 10px;
}

.srv-detail-text h2 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  text-transform: uppercase;
}

.srv-detail-text p {
  margin-top: 16px;
  color: var(--slate-500);
}

.srv-detail-img-wrapper {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.srv-detail-img-wrapper picture,
.srv-detail-img-wrapper img {
  width: 100%;
  height: 100%;
}

.srv-detail-img-wrapper img {
  object-fit: cover;
}

#srvDetalhes,
#srvBeneficios,
#srvFaq,
#srvOrcamento,
#srvOutros {
  scroll-margin-top: 60px;
}

.benefits-grid,
.srv-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card,
.srv-quick-card {
  padding: 26px;
}

.faq-container {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  color: var(--ink-900);
  text-align: left;
}

.faq-question i {
  transition: transform var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease, padding 260ms ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--slate-500);
}

.srv-cta {
  padding: 42px;
  text-align: center;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.srv-cta h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-transform: uppercase;
}

.srv-cta p {
  margin: 14px auto 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.srv-cta-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  max-width: 820px;
}

.srv-cta-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
}

.srv-cta-steps i {
  color: var(--amarelo);
}

.srv-cta .btn {
  margin-top: 24px;
}

.srv-quick-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 200px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.srv-quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 204, 41, 0.32);
}

.srv-quick-card h4 {
  color: var(--ink-900);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.srv-quick-card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.92rem;
}

.srv-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--azul);
  font-size: 0.86rem;
  font-weight: 900;
}

@media (max-width: 1120px) {

  .hero-grid,
  .about-layout,
  .software-layout,
  .contact-grid,
  .srv-detail-grid {
    grid-template-columns: 1fr;
  }

  .software-intro {
    position: static;
  }

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

  .why-card:nth-child(2),
  .why-card:nth-child(4) {
    transform: none;
  }

  .mvv-grid,
  .team-grid,
  .footer-grid,
  .benefits-grid,
  .srv-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .portfolio-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-document {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portfolio-document-icon {
    justify-self: center;
  }

  .portfolio-card-feature {
    min-height: 420px;
  }

  .hero-stage {
    max-width: 760px;
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .navbar {
    padding: 14px 0;
  }

  .nav-shell {
    padding: 14px 18px;
  }

  .nav-logo {
    margin-left: -18px;
    margin-right: auto;
    transform: translateX(-6px);
  }

  .hamburger {
    display: inline-block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: 92px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(8, 19, 29, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 132px;
  }

  .hero-stage {
    max-width: 100%;
    transform: none !important;
  }

  .hero-stage-visual {
    min-height: 300px;
  }

  .hero-metrics,
  .about-stats,
  .mvv-grid,
  .services-grid,
  .software-grid,
  .team-grid,
  .footer-grid,
  .benefits-grid,
  .srv-quick-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    min-height: 360px;
  }

  .contact-conversion {
    grid-template-columns: 1fr;
  }

  .back-btn {
    top: 124px;
    left: 20px;
    min-height: 44px;
    padding: 0 14px;
  }

  #srvDetalhes,
  #srvBeneficios,
  #srvFaq,
  #srvOrcamento,
  #srvOutros {
    scroll-margin-top: 70px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 84px 0;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-stage {
    gap: 14px;
  }

  .hero-stage-primary h2 {
    font-size: 2rem;
  }

  .hero-service-list {
    justify-content: stretch;
    gap: 8px;
  }

  .hero-service-chip {
    flex: 1 1 100%;
    padding: 9px 12px;
    font-size: 0.82rem;
    animation: chipFadeIn 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  .hero-stage-visual {
    min-height: 240px;
  }

  .hero-actions,
  .srv-hero-actions,
  .btn {
    width: 100%;
  }

  .portfolio-document .btn {
    justify-self: stretch;
  }

  .srv-hero-actions {
    flex-direction: column;
  }

  .srv-cta-steps {
    display: grid;
  }

  .contact-conversion .btn {
    justify-content: center;
  }

  .contact-checklist {
    display: grid;
  }

  .hero-stage-primary,
  .why-card,
  .service-card,
  .software-card,
  .team-card,
  .contact-card,
  .benefit-card,
  .srv-quick-card,
  .srv-cta {
    padding: 22px;
  }

  .about-visual {
    min-height: 420px;
  }

  .whatsapp-float,
  .back-to-top {
    width: 54px;
    height: 54px;
    right: 18px;
  }

  .whatsapp-float {
    bottom: 86px;
  }

  .back-to-top {
    bottom: 18px;
  }
}

@media (max-width: 860px), (hover: none) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

/* Glow Cursor Effect */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 41, 0.12) 0%, transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.5s ease;
  opacity: 0;
  mix-blend-mode: screen;
}

.cursor-glow.active {
  opacity: 1;
}

/* Hide on mobile devices since they use touch */
@media (max-width: 960px) {
  .cursor-glow {
    display: none;
  }
}

/* Blue Theme for Light Backgrounds */
.cursor-glow.blue-theme {
  background: radial-gradient(circle, rgba(38, 79, 109, 0.16) 0%, transparent 60%);
  mix-blend-mode: normal;
}

