:root {
  --bg: #f5f7fb;
  --card-bg: #ffffff;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #0f172a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 16px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo-img {
  height: 52px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.menu a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--muted);
}

.menu a:hover {
  color: var(--primary);
}

.menu a.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark);
  font-weight: 600;
}

.btn-menu {
  background: var(--primary);
  color: #fff !important;
  font-weight: 500;
  padding: 0.4rem 1.1rem !important;
}

.btn-menu:hover {
  background: var(--primary-dark);
}

.btn-mobile {
  display: none;
  border: none;
  background: #e5e7eb;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 1.1rem;
}

/* HERO */

.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
}

.hero-bg {
  background: #020617;
  color: #e5e7eb;
  overflow: hidden;
  background-image: url("assets/hero-industrial.jpg");
  background-size: cover;
  background-position: center;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), transparent 55%),
              radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.4), transparent 55%);
  opacity: 0.75;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(110deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.75));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

.hero-text h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero-text p {
  font-size: 0.98rem;
  color: #e5e7eb;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hero-tags span {
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-highlight-card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.7);
  font-size: 0.92rem;
}

.hero-highlight-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-highlight-card p {
  color: #e5e7eb;
  margin-bottom: 0.7rem;
}

.hero-highlight-card ul {
  list-style: none;
  color: #cbd5f5;
  padding-left: 0;
}

/* SEÇÕES BASE */

.section {
  padding: 2.7rem 0;
}

.section-alt {
  background: #eff3ff;
}

.section-title-center {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 1.7rem;
  font-size: 0.96rem;
}

/* SOBRE */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.lead {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.about-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

.about-card h3 {
  margin-bottom: 0.6rem;
}

.about-card ul {
  list-style: disc;
  padding-left: 1rem;
  color: var(--muted);
}

/* GRID SERVIÇOS */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.service-card img {
  height: 180px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.1rem 1.3rem 1.2rem;
  font-size: 0.95rem;
}

.service-card-body h3 {
  margin-bottom: 0.4rem;
}

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

.section-center-cta {
  text-align: center;
  margin-top: 1.7rem;
}

/* PASSOS */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.step-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.94rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* CTA FINAL */

.cta-final {
  background: linear-gradient(120deg, #1d4ed8, #2563eb);
  color: #e5e7eb;
}

.cta-final-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-final h2 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.cta-final p {
  max-width: 560px;
  font-size: 0.96rem;
}

/* FOOTER */

.footer {
  padding: 1.7rem 0 2.1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

/* WHATSAPP FLUTUANTE */

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.6);
  font-size: 1.7rem;
  color: #f9fafb;
}

/* FORM / CONTATO */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.6rem 0.7rem;
  font-size: 0.95rem;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.45);
  background: #fff;
}

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

/* RESPONSIVO */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

@media (max-width: 720px) {
  .menu {
    position: absolute;
    top: 60px;
    right: 1.25rem;
    background: #f9fafb;
    padding: 0.8rem 1rem;
    border-radius: 1.1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    display: none;
  }

  .menu.open {
    display: flex;
  }

  .btn-mobile {
    display: inline-flex;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-text h1 {
    font-size: 1.65rem;
  }
}
