/* ══════════════════════════════════════════════════
   DIE WENNERS ENGENHARIA | STYLESHEET v3
   Aesthetic: Refined Technical Precision
   ══════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────── */
:root {
  --primary:       #9CA842;
  --primary-dark:  #5B6B2E;
  --primary-light: #EFF2DE;
  --olive-300:     #E2E8C6;
  --olive-400:     #C8D399;
  --gold:          #C9B26A;
  --gold-dark:     #A8913E;
  --ink-900:       #1F2218;
  --ink-800:       #2D3320;
  --ink-700:       #4A4E3F;
  --ink-500:       #7A7E6E;
  --ink-300:       #C7CBBC;
  --ink-200:       #E5E7DA;
  --ink-100:       #F4F5EE;
  --cream-50:      #FAF8F1;
  --cream-100:     #F1ECDD;
  --font-display:  'Outfit', sans-serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --font-mono:     ui-monospace, 'SF Mono', 'Fira Code', monospace;
  --shadow-xs:     0 1px 2px rgba(31,34,24,.05);
  --shadow-sm:     0 1px 3px rgba(31,34,24,.07), 0 4px 16px rgba(63,74,31,.06);
  --shadow-md:     0 2px 4px rgba(31,34,24,.07), 0 12px 32px rgba(63,74,31,.09);
  --shadow-lg:     0 8px 16px rgba(31,34,24,.09), 0 32px 64px rgba(63,74,31,.14);
  --shadow-xl:     0 24px 48px rgba(31,34,24,.16), 0 8px 24px rgba(31,34,24,.10);
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    0.22s cubic-bezier(0.2, 0, 0, 1);
  --transition-slow: 0.4s cubic-bezier(0.2, 0, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ── Selections & scrollbar ─────────────────────── */
::selection { background: var(--olive-300); color: var(--ink-900); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 99px; }

/* ── Focus ──────────────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Skip link ──────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 0; z-index: 9999;
  background: var(--ink-900); color: #fff;
  padding: 12px 24px; font-weight: 700; font-size: 14px;
  border-radius: 0 0 8px 0; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Animations ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseRing {
  0%   { box-shadow: 0 4px 16px rgba(91,107,46,.35), 0 0 0 0   rgba(91,107,46,.40); }
  70%  { box-shadow: 0 4px 16px rgba(91,107,46,.35), 0 0 0 12px rgba(91,107,46,.00); }
  100% { box-shadow: 0 4px 16px rgba(91,107,46,.35), 0 0 0 0   rgba(91,107,46,.00); }
}

/* ── Layout ─────────────────────────────────────── */
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 24px;
}
@media (min-width: 768px)  { .container { padding: 0 40px; } }
@media (min-width: 1024px) { .container { padding: 0 60px; } }

.container-narrow { max-width: 780px; }

.section-py { padding-top: 88px; padding-bottom: 88px; }
@media (min-width: 1024px) { .section-py { padding-top: 128px; padding-bottom: 128px; } }

.bg-white  { background: #fff; }
.bg-cream  { background: var(--cream-50); }
.text-center { text-align: center; }
.text-white  { color: #fff; }

/* Responsive line break: shows on ≥1024 */
.br-lg { display: none; }
@media (min-width: 1024px) { .br-lg { display: block; } }

/* ── Typography ─────────────────────────────────── */
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 700; line-height: 1.22;
  color: var(--ink-900); margin-bottom: 8px;
}
.card-text { font-size: 0.9375rem; color: var(--ink-700); line-height: 1.68; }

/* ── Section header ─────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header .h2 { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.0625rem; color: var(--ink-700); line-height: 1.7;
  max-width: 640px;
}
.section-subtitle.muted { color: rgba(255,255,255,0.60); }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.9375rem; padding: 13px 24px;
  line-height: 1; min-height: 44px; white-space: nowrap;
  transition: all var(--transition);
  border: none; cursor: pointer; text-decoration: none;
}
.btn-lg   { padding: 16px 30px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn i    { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg i { width: 20px; height: 20px; }

/* Dark primary action */
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); }

/* Outline secondary action on light bg */
.btn-outline {
  background: transparent; color: var(--ink-900);
  border: 1.5px solid var(--ink-300);
}
.btn-outline:hover { background: var(--ink-100); border-color: var(--ink-900); }

/* Gold hero CTA on dark bg */
.btn-gold { background: var(--gold); color: var(--ink-900); font-weight: 700; }
.btn-gold:hover { background: #d9c27a; }

/* Ghost white secondary on dark bg */
.btn-ghost-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.6); }

/* Disabled state */
.btn[aria-busy="true"] { opacity: 0.65; cursor: not-allowed; }

/* ── Text link (subtle) ─────────────────────────── */
.btn-text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--primary-dark);
  padding: 10px 18px; border-radius: var(--radius);
  border: 1px solid var(--olive-400);
  background: rgba(255,255,255,0.6);
  transition: background var(--transition), border-color var(--transition);
  margin-top: 48px;
}
.btn-text-link:hover { background: var(--primary-light); border-color: var(--primary-dark); }
.btn-text-link i { width: 17px; height: 17px; }

/* ════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════ */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(250,248,241,.90);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--ink-200);
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--ink-200), 0 4px 16px rgba(31,34,24,.06);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 64px; gap: 16px;
}
@media (min-width: 1024px) { .header-inner { height: 80px; } }

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo svg { height: 48px; width: auto; display: block; }
@media (min-width: 1024px) { .header-logo svg { height: 60px; } }

/* sr-only: visually hidden but readable by screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.header-nav { display: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .header-nav { display: flex; } }
.header-nav a {
  padding: 7px 13px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--ink-700);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.header-nav a:hover { background: var(--ink-100); color: var(--ink-900); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: flex; } }
.header-cta .btn { padding: 10px 20px; font-size: 13.5px; font-family: var(--font-display); }

.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  padding: 8px; border-radius: var(--radius-sm); color: var(--ink-700);
  transition: background var(--transition);
}
.menu-toggle:hover { background: var(--ink-100); }
.menu-toggle i { width: 24px; height: 24px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ── Mobile overlay ── */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(31,34,24,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed; right: 0; top: 0; z-index: 100;
  width: 300px; max-width: 88vw; height: 100%;
  background: #fff;
  box-shadow: -8px 0 40px rgba(31,34,24,.18);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2,0,0,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px; border-bottom: 1px solid var(--ink-200); flex-shrink: 0;
}
.mobile-logo-svg { width: 148px; height: auto; display: block; }
.mobile-close {
  padding: 8px; border-radius: var(--radius-sm); color: var(--ink-700);
  transition: background var(--transition);
}
.mobile-close:hover { background: var(--ink-100); }
.mobile-close i { width: 20px; height: 20px; }

.mobile-nav-links { flex: 1; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-link {
  display: block; padding: 13px 16px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; color: var(--ink-900);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover { background: var(--ink-100); color: var(--primary-dark); }

.mobile-menu-footer {
  padding: 16px; border-top: 1px solid var(--ink-200); flex-shrink: 0;
}
.mobile-menu-footer .btn { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 82%, rgba(91,107,46,.08), transparent 34%),
    linear-gradient(180deg, #fbfaf4 0%, var(--cream-50) 100%);
  padding-top: 64px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-section { padding-top: 80px; } }

/* Subtle paper/dot texture */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(33,37,28,.10) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .28;
  mix-blend-mode: multiply;
}
.hero-pattern { display: none; }

.hero-bg-lines {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -5%;
  height: 34%;
  z-index: -3;
  pointer-events: none;
  background: url("assets/architectural-skyline-lines.png") center bottom / cover no-repeat;
  opacity: .11;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.3) 22%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.3) 22%, #000 100%);
}

.hero-bg-technical {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 84%;
  z-index: -2;
  pointer-events: none;
  background: url("./assets/engineering-technical-bg.png") center center / cover no-repeat;
  opacity: .58;
  mix-blend-mode: multiply;
  filter: contrast(1.42) saturate(.88);
  /* Fade left edge into the cream background, preserve top/bottom */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.24) 8%, rgba(0,0,0,.68) 20%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.24) 8%, rgba(0,0,0,.68) 20%, #000 38%);
}

.hero-bg-stamp {
  position: absolute;
  right: clamp(28px, 7vw, 118px);
  top: clamp(126px, 18vh, 188px);
  z-index: -2;
  width: 178px;
  height: 118px;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(31,34,24,.18);
  border-left-color: rgba(91,107,46,.26);
  color: rgba(31,34,24,.38);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .68;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 24%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 24%, #000 100%);
}

.hero-bg-stamp::before,
.hero-bg-stamp::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-bg-stamp::before {
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(91,107,46,.32);
  border-radius: 50%;
  box-shadow:
    54px 12px 0 -16px rgba(91,107,46,.42),
    86px 48px 0 -16px rgba(31,34,24,.32);
}

.hero-bg-stamp::after {
  left: -26px;
  right: -26px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,34,24,.20), transparent);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--cream-50) 0%, rgba(250,248,241,.96) 24%, rgba(250,248,241,.62) 34%, rgba(250,248,241,.22) 48%, rgba(250,248,241,0) 100%),
    linear-gradient(180deg, rgba(250,248,241,.64) 0%, rgba(250,248,241,0) 42%, rgba(250,248,241,.12) 100%);
}

@media (min-width: 1280px) {
  .hero-bg-technical {
    width: 82%;
    opacity: .6;
  }

  .hero-bg-stamp {
    right: clamp(72px, 8vw, 150px);
  }
}

@media (max-width: 767px) {
  .hero-section::before {
    background-size: 26px 26px;
    opacity: .2;
  }

  .hero-bg-lines {
    left: -18%;
    right: -18%;
    bottom: -5%;
    height: 26%;
    opacity: .06;
  }

  .hero-bg-technical {
    top: auto;
    right: -10%;
    bottom: 0;
    width: 110%;
    height: 55%;
    opacity: .22;
    background: url("./assets/engineering-technical-bg.png") center bottom / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 28%, #000 58%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 28%, #000 58%);
  }

  .hero-bg-stamp {
    right: 24px;
    top: auto;
    bottom: 96px;
    width: 132px;
    height: 82px;
    padding: 12px;
    font-size: 8px;
    opacity: .36;
    border-color: rgba(31,34,24,.12);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 28%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 28%, #000 100%);
  }

  .hero-bg-stamp::before {
    left: 12px;
    top: 12px;
    width: 24px;
    height: 24px;
  }

  .hero-section::after {
    background:
      linear-gradient(180deg, var(--cream-50) 0%, rgba(250,248,241,.98) 48%, rgba(250,248,241,.52) 78%, rgba(250,248,241,.28) 100%),
      linear-gradient(90deg, var(--cream-50) 0%, rgba(250,248,241,.9) 52%, rgba(250,248,241,.02) 100%);
  }
}

/* Container inside hero expands to fill the flex column */
.hero-section > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Two-column hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-top: 40px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
  align-items: center;
  flex: 1;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 640px);
    gap: 0;
    padding-top: 56px;
    padding-bottom: 72px;
  }
}

@media (max-width: 767px) {
  .hero-grid {
    padding-top: 32px;
    padding-bottom: 48px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 18px;
  animation: fadeUp 0.55s ease both 0.05s;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--ink-900);
  margin-bottom: 20px;
  animation: fadeUp 0.65s ease both 0.15s;
}
.hero-accent { color: var(--primary-dark); }

.hero-desc {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.68; color: var(--ink-700);
  max-width: 500px; margin-bottom: 28px;
  animation: fadeUp 0.6s ease both 0.3s;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both 0.44s;
}

/* Stats row */
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-200);
  animation: fadeUp 0.6s ease both 0.58s;
}
@media (max-width: 399px) { .hero-stats { gap: 16px; } }
@media (max-width: 767px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 18px;
  }

  .hero-stat {
    align-items: center;
    min-width: 0;
  }

  .hero-stat-sep {
    display: none;
  }
}

.hero-stat { display: flex; align-items: flex-start; gap: 10px; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800; line-height: 1;
  letter-spacing: 0; color: var(--ink-900);
}
.hero-stat-text { display: flex; flex-direction: column; justify-content: center; padding-top: 4px; }
.hero-stat-unit {
  font-family: var(--font-display);
  font-size: 0.875rem; font-weight: 700;
  color: var(--primary-dark); line-height: 1.2;
}
.hero-stat-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ink-500); margin-top: 3px; line-height: 1.2;
}
.hero-stat-sep {
  width: 1px; height: 44px; background: var(--ink-200); flex-shrink: 0; align-self: center;
}
@media (max-width: 767px) {
  .hero-stat { align-items: center; min-width: 0; }
  .hero-stat-sep { display: none; }
}

/* ════════════════════════════════════════════════════
   PAIN / SITUAÇÕES
   ════════════════════════════════════════════════════ */
.pain-grid {
  display: grid; gap: 20px; margin-bottom: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 580px)  { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.pain-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: var(--olive-400);
  box-shadow: var(--shadow-md);
}
.pain-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
}
.pain-icon i { width: 22px; height: 22px; color: var(--primary-dark); }

/* ════════════════════════════════════════════════════
   SERVICES (fichas técnicas)
   ════════════════════════════════════════════════════ */
.services-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.service-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--olive-400);
  box-shadow: var(--shadow-md);
}
.service-card:hover .svc-icon { background: var(--primary); }
.service-card:hover .svc-icon i { color: #fff; }
.service-card:hover .svc-cta i { transform: translateX(4px); }

/* Header bar */
.svc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px;
  background: var(--ink-100);
  border-bottom: 1px solid var(--ink-200);
}
.svc-label {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-500);
}
.svc-ref {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.04em;
}

/* Body */
.svc-body {
  flex: 1; padding: 22px 20px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.svc-icon-row { display: flex; align-items: flex-start; gap: 14px; }
.svc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  transition: background var(--transition);
}
.svc-icon i { width: 20px; height: 20px; color: var(--primary-dark); transition: color var(--transition); }
.svc-icon-row .h3 { padding-top: 6px; margin-bottom: 0; }

/* Organ tags */
.organ-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.organ-tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  background: var(--ink-100); border: 1px solid var(--ink-200);
  border-radius: 99px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  color: var(--primary-dark);
}

/* Bullet list */
.svc-bullets {
  display: flex; flex-direction: column; gap: 7px;
  padding-top: 14px; border-top: 1px dashed var(--ink-200);
  margin-top: auto;
}
.svc-bullets li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--ink-700); line-height: 1.4;
}
.svc-bullets li::before {
  content: ''; display: block; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); margin-top: 5px;
}

/* CTA footer */
.svc-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--ink-200);
  background: var(--cream-50);
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--primary-dark);
  transition: background var(--transition), color var(--transition);
  min-height: 52px;
}
.svc-cta:hover { background: var(--primary-light); }
.svc-cta i { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--transition); }

/* ════════════════════════════════════════════════════
   PROCESS
   ════════════════════════════════════════════════════ */
.process-track {
  position: relative;
  display: flex; flex-direction: column; gap: 0;
  list-style: none;
}
@media (min-width: 1024px) {
  .process-track { flex-direction: row; align-items: flex-start; }
}

/* Horizontal connector on desktop */
.process-connector { display: none; }
@media (min-width: 1024px) {
  .process-connector {
    display: block; position: absolute;
    top: 25px; left: 52px; right: 52px; height: 2px;
    background: linear-gradient(to right, var(--ink-200), var(--primary), var(--ink-200));
  }
}

/* Vertical connector on mobile */
@media (max-width: 1023px) {
  .process-track::before {
    content: '';
    position: absolute; left: 22px; top: 22px; bottom: 22px; width: 2px;
    background: linear-gradient(to bottom, var(--ink-200), var(--primary), var(--ink-200));
  }
}

.process-step {
  display: flex; align-items: flex-start; gap: 20px;
  padding-bottom: 36px; padding-left: 68px;
  position: relative;
}
.process-step:last-child { padding-bottom: 0; }

@media (min-width: 1024px) {
  .process-step {
    flex: 1; flex-direction: column; align-items: center; text-align: center;
    padding: 0 12px; gap: 14px;
  }
}

.process-num-wrap { position: relative; z-index: 1; flex-shrink: 0; }
@media (max-width: 1023px) {
  .process-num-wrap { position: absolute; left: 0; top: 0; }
}

.process-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1024px) { .process-circle { width: 52px; height: 52px; } }
.process-circle i { width: 20px; height: 20px; color: var(--primary); }

.process-content { padding-top: 2px; }
@media (min-width: 1024px) { .process-content { padding-top: 0; } }

.process-label {
  display: block;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 6px;
}
.process-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.process-text  { font-size: 13px; color: var(--ink-700); line-height: 1.62; }

/* ════════════════════════════════════════════════════
   DARK SECTION | AUTORIDADE
   ════════════════════════════════════════════════════ */
.dark-section {
  background: var(--ink-900);
  position: relative;
}
.dark-section .h2    { color: #fff; }
.dark-section .h3    { color: rgba(255,255,255,.92); }

.authority-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 580px)  { .authority-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .authority-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.authority-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.authority-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-3px);
}
.authority-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(156,168,66,.18);
}
.authority-icon i { width: 20px; height: 20px; color: var(--primary); }
.authority-card .card-text { color: rgba(255,255,255,.65); }

/* Quote */
.authority-quote {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}
@media (max-width: 767px) { .authority-quote { padding: 32px 24px; } }

.authority-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600; font-style: italic;
  color: rgba(255,255,255,.92); line-height: 1.4;
  max-width: 640px; margin: 0 auto 24px;
}
.authority-quote-footer {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.authority-quote-line { flex: 1; max-width: 60px; height: 1px; background: rgba(255,255,255,.2); }
.authority-quote-cite { font-size: 13px; font-weight: 700; font-style: normal; color: var(--gold); white-space: nowrap; }

/* ════════════════════════════════════════════════════
   COMMITMENTS
   ════════════════════════════════════════════════════ */
.commitments-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .commitments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .commitments-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.commitment-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.commitment-card:hover {
  transform: translateY(-3px);
  border-color: var(--olive-400);
  box-shadow: var(--shadow-md);
}
.commitment-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--primary-light);
}
.commitment-icon i { width: 20px; height: 20px; color: var(--primary-dark); }

/* ════════════════════════════════════════════════════
   FAQ | CSS grid-rows trick (no fixed max-height)
   ════════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--olive-400); box-shadow: var(--shadow-sm); }

.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; text-align: left;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--ink-900); background: none;
  transition: background var(--transition);
}
.faq-trigger:hover { background: var(--cream-50); }
.faq-trigger:focus-visible { outline-offset: -3px; }

/* Plus / Minus icon swap */
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-500); transition: color var(--transition); }
.faq-minus { display: none; }
.faq-item.open .faq-plus  { display: none; }
.faq-item.open .faq-minus { display: block; color: var(--primary-dark); }

/* Smooth expand without fixed height */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s cubic-bezier(0.2, 0, 0, 1);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  border-top: 1px solid var(--ink-200);
  padding: 16px 24px 22px;
  font-size: 14.5px; color: var(--ink-700); line-height: 1.72;
}

/* ════════════════════════════════════════════════════
   CTA FINAL SECTION
   ════════════════════════════════════════════════════ */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--ink-900);
  padding-top: 96px; padding-bottom: 96px;
}
@media (min-width: 1024px) { .cta-section { padding-top: 128px; padding-bottom: 128px; } }

.cta-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(156,168,66,.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-inner { position: relative; z-index: 1; }

.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
}
.cta-title {
  margin-bottom: 20px;
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  letter-spacing: -0.025em;
}
.cta-desc {
  font-size: 1.0625rem; color: rgba(255,255,255,.72);
  line-height: 1.72; max-width: 520px; margin: 0 auto 40px;
}
@media (min-width: 1024px) { .cta-desc { font-size: 1.1875rem; } }
.cta-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-bottom: 24px;
}
.cta-note { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.45); }

/* ════════════════════════════════════════════════════
   CONTACT FORM
   ════════════════════════════════════════════════════ */
.contact-form {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 640px) { .contact-form { padding: 44px 40px; } }

/* Two columns side-by-side on wider screens */
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 580px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 7px; }
.required { color: #ef4444; }
.optional  { font-weight: 400; color: var(--ink-500); }

.form-input {
  width: 100%;
  border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm);
  background: var(--cream-50); padding: 13px 16px;
  font-size: 15px; font-family: var(--font-body);
  color: var(--ink-900);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}
.form-input::placeholder { color: var(--ink-500); }
.form-input:focus {
  border-color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(91,107,46,.15);
}
.form-input.error { border-color: #f87171; }
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(248,113,113,.18); }

.select-wrap { position: relative; }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; }
.select-chevron {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--ink-700); pointer-events: none;
}
.form-textarea { resize: none; }

.form-error {
  font-size: 13px; color: #ef4444;
  margin-top: 6px; min-height: 20px; line-height: 1.4;
}
.form-char-count { font-size: 12px; color: var(--ink-500); text-align: right; margin-top: 6px; }
.form-note       { font-size: 12px; color: var(--ink-500); text-align: center; margin-top: 16px; line-height: 1.5; }

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--ink-200); background: var(--cream-50); }
.footer > .container { padding-top: 64px; padding-bottom: 64px; }

.footer-grid {
  display: grid; gap: 40px; grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 52px; } }

.footer-brand-col .footer-logo { margin-bottom: 18px; }
.footer-logo-svg { width: 148px; height: auto; display: block; }
.footer-brand-text { font-size: 14px; color: var(--ink-700); line-height: 1.68; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: #fff;
  color: var(--ink-700); box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.social-btn:hover { border-color: var(--primary-dark); color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.social-btn i, .social-btn svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-900); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--ink-700); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary-dark); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-link {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-700); transition: color var(--transition);
}
.footer-contact-link:hover { color: var(--primary-dark); }
.footer-contact-link i, .footer-contact-link svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-static {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-700);
}
.footer-contact-static i { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }

.footer-bottom { border-top: 1px solid var(--ink-200); padding-top: 28px; }
.footer-seo { font-size: 12px; color: var(--ink-500); line-height: 1.65; margin-bottom: 14px; text-align: center; }
.footer-bottom-row {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  text-align: center;
}
.footer-copy   { font-size: 13px; color: var(--ink-500); }
.footer-credit { font-size: 12px; color: var(--ink-500); }
.footer-credit-link {
  color: var(--ink-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.footer-credit-link:hover { color: var(--primary-dark); }

/* ════════════════════════════════════════════════════
   FLOATING WHATSAPP
   ════════════════════════════════════════════════════ */
.floating-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--primary-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  animation: pulseRing 2.8s ease-out infinite;
  animation-delay: 4s;
  transition: transform var(--transition), background var(--transition);
}
.floating-wa:hover { transform: scale(1.1); background: var(--ink-800); }
.floating-wa:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 767px) {
  .site-header .container {
    padding-left: 23px;
    padding-right: 23px;
  }

  .header-inner {
    height: 82px;
    align-items: center;
  }

  .header-logo svg {
    height: 66px;
  }

  .menu-toggle {
    padding: 7px;
  }

  .hero-section {
    padding-top: 82px;
    padding-bottom: 64px;
  }

  .hero-grid {
    padding-top: 42px;
    padding-bottom: 58px;
  }

  .hero-content {
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
  }

  .hero-eyebrow {
    width: 100%;
    max-width: 330px;
    margin-bottom: 22px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.16em;
  }

  .hero-heading {
    width: 100%;
    max-width: 330px;
    font-size: clamp(42px, 12vw, 54px);
    line-height: 0.93;
    letter-spacing: 0;
    margin-bottom: 22px;
  }

  .hero-heading .hero-accent {
    white-space: nowrap;
  }

  .hero-desc {
    width: 100%;
    max-width: 335px;
    font-size: 15.5px;
    line-height: 1.62;
    margin-bottom: 26px;
  }

  .hero-actions {
    width: 100%;
    max-width: 330px;
    gap: 10px;
    margin-bottom: 34px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 10px;
    justify-content: center;
    font-size: 14px;
  }

  .hero-actions .btn-outline {
    background: rgba(255,255,255,.44);
    border-color: rgba(31,34,24,.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero-stats {
    width: 100%;
    max-width: 330px;
    margin-top: 0;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid rgba(31,34,24,.10);
  }

  .hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
  }

  .hero-stat-num {
    min-width: 0;
    font-size: 26px;
    line-height: 1;
  }

  .hero-stat-text {
    min-width: 0;
    padding-top: 0;
  }

  .hero-stat-unit {
    font-size: 11px;
    line-height: 1;
  }

  .hero-stat-label {
    font-size: 9.5px;
    letter-spacing: 0.08em;
    line-height: 1.25;
    margin-top: 1px;
  }

  .hero-bg-technical {
    width: 170vw;
    height: 58%;
    right: -62vw;
    bottom: -5%;
    opacity: .18;
    background-size: contain;
    background-position: right bottom;
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, rgba(0,0,0,.24) 18%, rgba(0,0,0,.82) 38%, #000 100%),
      linear-gradient(90deg, transparent 0%, rgba(0,0,0,.32) 18%, #000 48%, #000 100%);
    mask-image:
      linear-gradient(180deg, transparent 0%, rgba(0,0,0,.24) 18%, rgba(0,0,0,.82) 38%, #000 100%),
      linear-gradient(90deg, transparent 0%, rgba(0,0,0,.32) 18%, #000 48%, #000 100%);
  }

  .hero-bg-lines {
    height: 28%;
    opacity: .07;
  }

  .floating-wa {
    width: 54px;
    height: 54px;
    right: 18px;
    bottom: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.96);
    animation: none;
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
  }

  .floating-wa.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 420px) {
  .hero-heading {
    font-size: 42px;
  }
}

/* ════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content > * { animation: none; opacity: 1; transform: none; }
}
