/* ============================================================
   ENGFORCE — CSS Azul Corporativo
   ============================================================ */

:root {
  --black: #0a0f1a;
  --dark: #0d1525;
  --dark-2: #122040;
  --blue: #005eb8;
  --blue-light: #0075e0;
  --blue-deep: #003087;
  --blue-glow: rgba(0, 94, 184, 0.12);
  --white: #ffffff;
  --off-white: #f0f4ff;
  --gray: #7a8fa6;
  --gray-light: #b0c0d4;
  --border: rgba(255, 255, 255, 0.07);
  --border-blue: rgba(0, 94, 184, 0.25);

  --font-display: "Bebas Neue", sans-serif;
  --font-head: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
#navbar.scrolled {
  background: rgba(10, 15, 26, 0.99);
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
}
.logo span {
  color: var(--blue-light);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}
.nav-link {
  padding: 0 1.1rem;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray-light);
  text-transform: uppercase;
  height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  border-bottom-color: var(--blue-light);
}
.nav-link.nav-cta {
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  padding: 9px 20px;
  height: auto;
  border-bottom: none;
  margin-left: 1rem;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.15s;
}
.nav-link.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 2.5rem 80px;
  gap: 60px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 94, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 94, 184, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 100px);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: var(--white);
}
.accent-text {
  color: var(--blue-light);
}

.hero-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gear-container {
  position: relative;
  width: 340px;
  height: 340px;
}
.gear {
  position: absolute;
}
.gear-main {
  width: 280px;
  height: 280px;
  top: 30px;
  left: 30px;
  animation: spin-slow 20s linear infinite;
}
.gear-small {
  width: 140px;
  height: 140px;
  top: -10px;
  right: -10px;
  animation: spin-slow 14s linear infinite reverse;
}
.circuit-lines {
  position: absolute;
  inset: 0;
}
.circuit-lines svg {
  width: 100%;
  height: 100%;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 94, 184, 0.4);
}
.btn-primary.full {
  width: 100%;
  justify-content: center;
}
.btn-primary.large {
  padding: 16px 36px;
  font-size: 15px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-ghost:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  color: var(--gray-light);
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-outline-dark:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

/* ============================================================
   SECTION
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.section-label.left {
  justify-content: flex-start;
}
.label-line {
  display: block;
  flex: 1;
  height: 1px;
  background: var(--blue-light);
  opacity: 0.3;
  max-width: 60px;
}
.label-line.short {
  max-width: 32px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
}
.section-title span {
  color: var(--blue-light);
}
.section-title.left {
  text-align: left;
}

.section-sub {
  font-size: 15px;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.75;
}

/* ============================================================
   NOTICE BAR
   ============================================================ */
.notice-bar {
  background: rgba(0, 94, 184, 0.08);
  border-top: 1px solid var(--border-blue);
  border-bottom: 1px solid var(--border-blue);
  padding: 14px 2.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.notice-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.notice-bar p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.6;
}
.notice-bar strong {
  color: var(--blue-light);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 2.5rem;
  background: var(--black);
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.svc-card {
  background: var(--dark);
  padding: 36px 28px;
  position: relative;
  transition: background 0.3s;
  text-align: left;
}
.svc-card:hover {
  background: var(--dark-2);
}
.svc-card:hover .svc-icon-wrap {
  background: var(--blue-glow);
  color: var(--blue-light);
}

.svc-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: 16px;
  right: 20px;
  letter-spacing: 1px;
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s;
}
.svc-card:hover .svc-num {
  color: rgba(0, 117, 224, 0.12);
}

.svc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition:
    background 0.3s,
    color 0.3s;
}
.svc-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.svc-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.svc-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-tags li {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-light);
  background: var(--blue-glow);
  border: 1px solid rgba(0, 94, 184, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
}

.svc-img-wrap {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.svc-card:hover .svc-img-wrap img {
  transform: scale(1.05);
}

/* ============================================================
   SOFTWARES
   ============================================================ */
.softwares {
  padding: 80px 2.5rem;
  background: var(--dark);
  text-align: center;
}
.software-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 48px auto 0;
}
.sw-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.sw-card:hover {
  border-color: rgba(0, 94, 184, 0.5);
  transform: translateY(-4px);
}
.sw-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--blue-light);
}
.sw-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sw-card h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sw-card p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  padding: 100px 2.5rem;
  background: var(--dark);
}
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.proj-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
  cursor: pointer;
}
.proj-card:hover {
  border-color: rgba(0, 94, 184, 0.5);
  transform: translateY(-4px);
}
.proj-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.proj-large .proj-visual {
  height: auto;
  min-height: 220px;
}

.proj-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.proj-visual.mec {
  background: linear-gradient(135deg, #001a3a 0%, #002d6b 100%);
}
.proj-visual.auto {
  background: linear-gradient(135deg, #001230 0%, #002050 100%);
}
.proj-visual.sim {
  background: linear-gradient(135deg, #000d24 0%, #001840 100%);
}
.proj-visual.elec {
  background: linear-gradient(135deg, #001535 0%, #002560 100%);
}

.proj-visual-inner {
  width: 70%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-visual-inner svg {
  width: 100%;
  height: 100%;
}

.proj-info {
  padding: 20px 24px 24px;
}
.proj-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.proj-info h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}
.proj-info p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 14px;
}
.proj-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.proj-meta span {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 2.5rem;
  background: var(--black);
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.about-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.about-pills span {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-light);
}

.about-card-highlight {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
}
.about-card-highlight h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.highlight-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-light);
}
.tool-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mec-dot {
  background: var(--blue-light);
}
.auto-dot {
  background: #0066cc;
}
.sim-dot {
  background: #0055aa;
}
.elec-dot {
  background: #4499ff;
}

.about-badge-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.badge-item {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--blue-light);
  line-height: 1;
}
.badge-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--blue-deep);
  padding: 64px 2.5rem;
  border-top: 3px solid var(--blue-light);
}
.cta-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-band p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}
.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue-deep);
  flex-shrink: 0;
}
.cta-band .btn-primary:hover {
  background: var(--off-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 2.5rem;
  background: var(--dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-left p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.c-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--blue-glow);
  border: 1px solid rgba(0, 94, 184, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
}
.c-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}
.contact-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.contact-item span {
  font-size: 13px;
  color: var(--gray);
}

.contact-form-wrap {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gray-light);
  text-transform: uppercase;
}
input,
select,
textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-light);
  background: rgba(0, 94, 184, 0.06);
}
select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8fa6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
select option {
  background: var(--dark-2);
  color: var(--white);
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.form-success {
  display: none;
  background: rgba(0, 94, 184, 0.1);
  border: 1px solid rgba(0, 94, 184, 0.3);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  color: var(--blue-light);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--blue-deep);
  padding: 56px 2.5rem 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-top: 12px;
  max-width: 260px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-links h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 1.5rem 60px;
  }
  .hero-visual {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .software-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .proj-large {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  #navbar {
    padding: 0 1.25rem;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.98);
    flex-direction: column;
    padding: 24px 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    height: auto;
    padding: 14px 0;
    border-bottom: none;
    border-top: 1px solid var(--border);
    width: 100%;
  }
  .nav-link.nav-cta {
    margin: 16px 0 0 0;
    text-align: center;
    justify-content: center;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 56px;
  }
  .services,
  .projects,
  .about,
  .contact {
    padding: 70px 1.25rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-band {
    padding: 48px 1.25rem;
  }
  .cta-band h2 {
    font-size: 32px;
  }
  .hero-stats {
    gap: 20px;
  }
  .stat-num {
    font-size: 24px;
  }
  .notice-bar {
    padding: 14px 1.25rem;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ============================================================
   SERVICES SHOWCASE — Layout Dinâmico
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--black);
  text-align: center;
}

.services-header {
  padding: 0 2.5rem;
  margin-bottom: 60px;
}

.svc-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 420px);
  gap: 3px;
  background: var(--border);
}

.svc-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.svc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(30%) brightness(0.5);
}

.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 15, 26, 0.97) 0%,
    rgba(10, 15, 26, 0.7) 50%,
    rgba(10, 15, 26, 0.2) 100%
  );
  transition: background 0.4s ease;
}

.svc-item:hover .svc-bg img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(0.45);
}

.svc-item:hover .svc-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 15, 26, 0.98) 0%,
    rgba(10, 15, 26, 0.8) 55%,
    rgba(0, 94, 184, 0.15) 100%
  );
}

.svc-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.svc-number {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.12);
  transition: color 0.4s ease;
}

.svc-item:hover .svc-number {
  color: var(--blue-light);
}

.svc-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
  transform: rotate(-45deg);
  transition: all 0.4s ease;
}

.svc-item:hover .svc-arrow {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: rotate(0deg);
  background: rgba(0, 94, 184, 0.15);
}

.svc-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-bottom h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1.5px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0;
  transition: color 0.3s;
}

.svc-item:hover .svc-bottom h3 {
  color: var(--white);
}

.svc-detail {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    margin-top 0.4s ease,
    opacity 0.4s ease;
  opacity: 0;
  margin-top: 0;
}

.svc-item:hover .svc-detail {
  max-height: 200px;
  opacity: 1;
  margin-top: 14px;
}

.svc-detail p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 12px;
}

.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.svc-chips span {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--blue-light);
  background: rgba(0, 94, 184, 0.2);
  border: 1px solid rgba(0, 94, 184, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ============================================================
   SERVICES RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .svc-showcase {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 360px);
  }
}

@media (max-width: 600px) {
  .services-header {
    padding: 0 1.25rem;
  }
  .svc-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 300px);
  }
  .svc-detail {
    max-height: 200px;
    opacity: 1;
    margin-top: 14px;
  }
  .svc-number {
    font-size: 48px;
  }
  .svc-bottom h3 {
    font-size: 24px;
  }
}
.sw-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.sw-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.proj-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.proj-card:hover .proj-visual img {
  transform: scale(1.05);
}
.gear-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gear-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gear-video {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;

  border-radius: 12px;

  /* visual mais profissional */
  filter: drop-shadow(0 0 25px rgba(0, 94, 184, 0.35));
}

/* ============================================================
   HERO — FUNDO BRANCO (cole no FINAL do seu style.css)
   ============================================================ */

/* Background branco no hero */
.hero {
  background: #ffffff !important;
}

/* Grid de fundo suave sobre branco */
.hero-bg-grid {
  background-image:
    linear-gradient(rgba(0, 94, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 94, 184, 0.05) 1px, transparent 1px) !important;
}

/* Eyebrow — texto escuro */
.hero-eyebrow {
  color: #003087 !important;
}

/* Título — preto */
.hero-title {
  color: #0a0f1a !important;
}

/* Texto accent azul — fica igual */
.accent-text {
  color: var(--blue-light) !important;
}

/* Subtítulo — cinza escuro */
.hero-sub {
  color: #3a4a5c !important;
}

/* Botão ghost — escuro para contraste no branco */
.btn-ghost {
  color: #0a0f1a !important;
  border-bottom-color: rgba(10, 15, 26, 0.35) !important;
}
.btn-ghost:hover {
  border-bottom-color: var(--blue-light) !important;
  color: var(--blue-light) !important;
}

/* Stats — números e labels escuros */
.hero-stats {
  border-top-color: rgba(10, 15, 26, 0.1) !important;
}
.stat-num {
  color: #0a0f1a !important;
}
.stat-label {
  color: #5a6a7a !important;
}
.stat-divider {
  background: rgba(10, 15, 26, 0.12) !important;
}

/* Vídeo — sem destaque, funde com o fundo branco */
.gear-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.gear-video {
  filter: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
