/* ============================================================
   MENDES ENGENHARIA — Stylesheet
   Paleta: azul (primário) + preto (dark)
   ============================================================ */

:root {
  --blue-50:  #eef6ff;
  --blue-100: #d7e9ff;
  --blue-200: #b3d4fb;
  --blue-400: #3b8bf5;
  --blue-500: #1d7ef7;
  --blue-600: #0f63d6;
  --blue-700: #0a4da8;
  --blue-900: #0a2540;
  --blue-950: #061a2e;
  --black:    #05090f;
  --black-2:  #0a121d;
  --ink:      #0f1b29;
  --text:     #42556b;
  --white:    #ffffff;
  --border:   #e3ebf4;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(6, 22, 46, 0.55);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Sora', 'Inter', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--blue-500);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2f8bff 0%, var(--blue-500) 45%, var(--blue-600) 100%);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(29, 126, 247, 0.8);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -12px rgba(29, 126, 247, 0.95), 0 0 0 4px rgba(29, 126, 247, 0.12);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-outline.invert { color: var(--blue-500); border-color: rgba(10, 37, 64, 0.25); }
.btn-outline.invert:hover { background: var(--blue-50); }

.btn-full { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(5, 9, 15, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(5, 9, 15, 0.92); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 22px -8px rgba(29, 126, 247, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: #fff; font-family: var(--font-head); font-size: 1.02rem; letter-spacing: 0.2px; }
.brand-text strong span { color: var(--blue-400); }
.brand-text small { color: rgba(255, 255, 255, 0.55); font-size: 0.66rem; letter-spacing: 2.2px; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links > a:not(.btn) {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s;
}
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links > a:not(.btn):hover { color: #fff; }
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }

.btn-nav { padding: 10px 20px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 168px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px circle at 85% 20%, rgba(29, 126, 247, 0.28), transparent 45%),
    radial-gradient(600px circle at 10% 90%, rgba(29, 126, 247, 0.14), transparent 50%),
    linear-gradient(160deg, #05090f 30%, #0a1b2e 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 126, 247, 0.14);
  border: 1px solid rgba(29, 126, 247, 0.4);
  color: var(--blue-200);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(29, 126, 247, 0.22);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.5px;
  color: #fff;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue-400), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 20px;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}
.hero-sub strong { color: #fff; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.check {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(29, 126, 247, 0.25);
  color: var(--blue-200);
  font-size: 0.66rem;
}

/* Card do hero */
.hero-card {
  position: relative;
  background: linear-gradient(160deg, #0c1c30, #08121f);
  border: 1px solid rgba(120, 170, 255, 0.22);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(29, 126, 247, 0.7), transparent 45%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hc-top { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }

.hc-image {
  margin: -30px -30px 22px;
  height: 230px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  position: relative;
  background: var(--blue-900);
}
.hc-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,9,15,0.85), rgba(5,9,15,0.05) 60%);
}
.hc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hc-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-radius: 14px;
}
.hc-top strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: #fff; }
.hc-top small { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }

.hc-items { padding: 22px 0; display: grid; gap: 18px; }
.hc-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.hc-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hc-item p { color: rgba(255, 255, 255, 0.75); font-size: 0.86rem; }

/* ---------- Quickbar ---------- */
.quickbar {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  padding: 22px 0;
}
.quickbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.quickbar p { font-size: 1.02rem; }
.quickbar .btn-white { }
.quickbar .btn { background: #fff; color: var(--blue-700); box-shadow: none; }
.quickbar .btn:hover { box-shadow: 0 12px 24px -10px rgba(0,0,0,0.35); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--blue-50); }

/* ---------- Marca d'água ---------- */
.wm { position: relative; }
.wm > .container,
.wm-dark > .container { position: relative; z-index: 1; }

.wm::after,
.wm-dark::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(560px, 65vw);
  height: min(560px, 65vw);
  right: -70px;
  bottom: -70px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.055;
  pointer-events: none;
}

.wm::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231d7ef7'%3E%3Cpath d='M19.14 12.94c.04-.3.05-.61.05-.94s-.02-.63-.05-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.05-.24-.25-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.05.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.25.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E");
}

.wm-dark::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19.14 12.94c.04-.3.05-.61.05-.94s-.02-.63-.05-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.05-.24-.25-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.05.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.25.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E");
}

.wm-dark.cta::after { top: -70px; bottom: auto; }
.wm-dark.footer::after { top: -40px; bottom: auto; right: -40px; }

.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--blue-500);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.section-head p {
  margin-top: 14px;
  color: var(--text);
  font-size: 1.02rem;
}

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sobre-text > p { color: var(--text); font-size: 1.02rem; }
.sobre-text > p strong { color: var(--ink); }

.check-list { margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--blue-500);
  color: #fff;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.sobre-cards { display: grid; gap: 16px; }
.sobre-photo {
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 38px -22px rgba(6, 22, 46, 0.55);
  border: 1px solid rgba(29, 126, 247, 0.25);
}
.sobre-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29,126,247,0.35), rgba(5,9,15,0) 60%);
}
.sobre-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: 0 10px 26px -18px rgba(6, 22, 46, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.mini-card:hover { transform: translateX(6px); box-shadow: 0 16px 30px -18px rgba(6, 22, 46, 0.45); }
.mini-icon { font-size: 1.4rem; }
.mini-card strong { display: block; color: var(--ink); font-size: 1rem; }
.mini-card small { color: var(--text); font-size: 0.86rem; }

/* ---------- Cards de serviços ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px -26px rgba(6, 22, 46, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(29, 126, 247, 0.55);
  box-shadow: 0 34px 60px -30px rgba(6, 22, 46, 0.55);
}
.card.featured { background: var(--black); border-color: rgba(29,126,247,0.45); }
.card.featured h3, .card.featured p, .card.featured ul li { color: rgba(255,255,255,0.9); }
.card.featured p { color: rgba(255,255,255,0.75); }

.card-pic {
  height: 190px;
  margin: -34px -28px 26px;
  overflow: hidden;
  position: relative;
  border-radius: 15px 15px 0 0;
  background: var(--blue-900);
}
.card-pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,9,15,0.55), rgba(5,9,15,0) 55%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.card:hover .card-pic::after { opacity: 0; }
.card-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-pic img { transform: scale(1.07); }

.tag {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--blue-500);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.card-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  background: var(--blue-50);
  border: 1px solid rgba(29, 126, 247, 0.2);
  color: var(--blue-600);
  border-radius: 16px;
  margin-bottom: 22px;
}
.card.featured .card-icon { background: rgba(29,126,247,0.18); color: var(--blue-100); }

.card h3 {
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 1.22rem;
  margin-bottom: 12px;
}
.card p { color: var(--text); font-size: 0.94rem; }
.card ul { margin-top: 18px; display: grid; gap: 9px; }
.card ul li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 0.89rem;
  font-weight: 500;
}
.card.featured ul li { color: rgba(255,255,255,0.85); }
.card ul li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
}

/* ---------- Portfólio de serviços (destaques) ---------- */
.serv-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 56px 0 26px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.serv-divider::before,
.serv-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-200));
}
.serv-divider::after { background: linear-gradient(90deg, var(--blue-200), transparent); }

.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.serv-item {
  position: relative;
  height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  background: var(--blue-900);
  box-shadow: 0 14px 30px -22px rgba(6, 22, 46, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.serv-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 10, 18, 0.92) 8%, rgba(4, 10, 18, 0.25) 52%, rgba(4, 10, 18, 0) 70%);
  transition: background 0.35s;
}
.serv-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.serv-overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 20px 22px;
  display: block;
}
.serv-overlay strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.02rem;
  line-height: 1.3;
  margin-bottom: 6px;
}
.serv-overlay small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
}
.serv-item:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -24px rgba(6, 22, 46, 0.65); }
.serv-item:hover img { transform: scale(1.08); }
.serv-item:hover::after { background: linear-gradient(to top, rgba(6, 26, 48, 0.95) 10%, rgba(6, 26, 48, 0.45) 55%, rgba(6, 26, 48, 0.15) 75%); }

/* ---------- Diferenciais ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.diff {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.diff:hover { transform: translateY(-6px); border-color: rgba(29,126,247,0.4); box-shadow: 0 24px 40px -28px rgba(6,22,46,0.45); }
.diff-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  color: rgba(29, 126, 247, 0.18);
  transition: color 0.3s;
}
.diff:hover .diff-num { color: var(--blue-500); }
.diff h3 { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; margin: 10px 0 8px; }
.diff p { color: var(--text); font-size: 0.9rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px circle at 70% 30%, rgba(29,126,247,0.3), transparent 55%);
}
.cta-inner { position: relative; text-align: center; max-width: 720px; }
.cta h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.25; }
.cta p { color: rgba(255,255,255,0.72); margin: 14px auto 30px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contato ---------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 34px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 20px 44px -30px rgba(6,22,46,0.45);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--blue-50);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2342556b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 126, 247, 0.15);
}
.field input.invalid, .field textarea.invalid { border-color: #e5484d; background: #fff5f5; }
.form-note { font-size: 0.78rem; color: var(--text); text-align: center; margin-top: 12px; }
.form-success {
  display: none;
  margin-bottom: 18px;
  background: #e8f7ee;
  border: 1px solid #8fd6ab;
  color: #1d7a44;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-info { display: grid; gap: 14px; }
.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.info-card:hover { transform: translateX(6px); border-color: rgba(29,126,247,0.4); }
.info-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  background: var(--blue-50);
  border: 1px solid rgba(29,126,247,0.18);
  color: var(--blue-600);
  border-radius: 12px;
}
.info-card strong { display: block; color: var(--ink); font-size: 0.9rem; }
.info-card a, .info-card span { color: var(--text); font-size: 0.92rem; font-weight: 500; }
.info-card a:hover { color: var(--blue-500); }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}
.footer-brand .brand-text strong { font-size: 1.05rem; }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; max-width: 300px; }
.footer-cnpj {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--blue-100);
  background: rgba(29, 126, 247, 0.12);
  border: 1px solid rgba(29, 126, 247, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
}
.footer-nav, .footer-contact { display: grid; align-content: start; gap: 10px; }
.footer-nav strong, .footer-contact strong {
  font-family: var(--font-head);
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.footer-nav a, .footer-contact a { font-size: 0.9rem; transition: color 0.2s; width: fit-content; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--blue-400); }
.footer-contact span { font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 0.82rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); }
.wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--black);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 992px) {
  .hero { padding-top: 140px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 560px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }

  .navbar-inner { height: 68px; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(5, 9, 15, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 22px 8vw 28px;
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > a { padding: 12px 4px; color: rgba(255,255,255,0.85); }
  .nav-links .btn-nav { margin-top: 10px; }
  .hamburger { display: flex; }

  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .serv-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .quickbar-inner { justify-content: center; text-align: center; }
  .quickbar .btn { width: 100%; }
}

@media (max-width: 520px) {
  .diff-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .hero-card { padding: 24px; }
  .hc-item { grid-template-columns: 1fr; gap: 4px; }
}